Home
last modified time | relevance | path

Searched refs:global (Results 1 – 25 of 259) sorted by relevance

1234567891011

/vim-8.2.3635/src/testdir/
H A Dtest_autocmd.vim782 " 18c: Setting global string global option"
789 " As this is a global option this sets the global value even though
819 " 19c: Setting global string global-local (to buffer) option "
904 " 21c: Setting global string global-local (to window) option"
963 " 23a: Setting global number global option"
995 " 24a: Setting global number global-local (to buffer) option"
1019 " 24d: Setting again global number global-local (to buffer) option"
1095 " 28a: Setting global boolean global option"
1119 " 28d: Setting again global boolean global option"
1127 " 29a: Setting global boolean global-local (to buffer) option"
[all …]
H A Dtest_listchars.vim389 " When local value is reset, global value should be used
392 " Use 'setlocal <' to copy global value
396 " Use 'set <' to copy global value
400 " Changing global setting should not change the local setting
425 " changing the global setting should not change the local value
432 " window. But should impact other windows using the global setting.
447 " Setting the global setting to the default value should not impact a window
457 " using a global setting.
468 " global setting and also impact other windows using the global setting.
478 " global settings.
[all …]
H A Dtest_autochdir.vim32 edit global.txt
33 call assert_match('\[global\].*testdir$', execute('verbose pwd'))
48 call assert_match('\[global\].*testdir$', execute('verbose pwd'))
56 call assert_match('\[global\].*testdir', execute('verbose pwd'))
H A Dtest_exists.vim170 " Existing global variable
173 " Existing global variable with garbage
175 " Non-existing global variable
178 " Existing global list
181 " Non-existing global list
184 " Existing global dictionary
187 " Non-existing global dictionary
190 " Existing global curly-brace variable
191 let str = "global"
194 " Non-existing global curly-brace variable
H A Dtest_maparg.vim258 nmap a global
263 call assert_match('n\s*a\s*global', prev_map_list[1])
270 " Check that the global mapping is left untouched.
273 call assert_match('n\s*a\s*global', map_list[1])
H A Dtest_global.vim1 " Test for :global and :vglobal
74 " Test for global command with newline character
H A Dtest_number.vim47 " setlocal must NOT reset the other global value
58 " setglobal MUST reset the other global value
69 " set MUST reset the other global value
H A Dtest_lua.vim63 let msg = "[string \"vim chunk\"]:1: global 'func' is not callable (a nil value)"
65 let msg = "[string \"vim chunk\"]:1: attempt to call a nil value (global 'func')"
67 let msg = "[string \"vim chunk\"]:1: attempt to call global 'func' (a nil value)"
580 " cannot assign funcrefs in the global scope
919 " Test for adding, accessing and removing global variables using the vim.g
922 " Access global variables with different types of values
940 " Create new global variables with different types of values
964 " Modify a global variable with a list value or a dictionary value
976 " Remove global variables with different types of values
995 " Try to modify and remove a locked global variable
[all …]
H A Dtest_textprop.vim77 prop_type_add('global', {})
80 prop_add(1, 1, {type: 'global'})
85 {type: 'global', type_bufnr: 0, id: 0, col: 1, end: 1, length: 0, start: 1},
91 {lnum: 1, id: 0, col: 1, type_bufnr: 0, end: 1, type: 'global', length: 0, start: 1},
92 prop_find({lnum: 1, type: 'global'}))
94 prop_remove({type: 'global'}, 1)
97 prop_type_delete('global')
1623 prop_type_add('bufnr-global', {highlight: 'ErrorMsg'})
1626 prop_add(1, 1, {type: 'bufnr-global', length: 1})
1637 prop_type_get('bufnr-global', {bufnr: list[0].type_bufnr}))
[all …]
H A Dtest_vartabs.vim106 " Check that global and local values are set.
132 " Check that global values only are set.
232 " Check that global and local values are set.
258 " Check that global values only are set.
/vim-8.2.3635/runtime/syntax/
H A Dhitest.vim11 " save global options and registers
22 " set global options
54 global! /links to/ substitute /\s.*$//e
60 global /links to/ move $
65 silent! global /links to/ normal mz3ElD0#$p'zdd
68 global /^ *$/ delete
82 global /^/ exe "normal Wi\<CR>\t\eAA\ex"
83 global /^\S/ join
131 " restore global options and registers
H A Dtads.vim11 " global, self, etc. are special *objects*, not functions. They should
14 " Make global etc. into Identifiers, since we don't have regular variables?
31 syn keyword tadsKeyword global self inherited
H A Dmatlab.vim12 " - 'global' and 'persistent' keyword are now recognized
28 syn keyword matlabScope global persistent
/vim-8.2.3635/runtime/doc/
H A Doptions.txt313 For a global option the global value is
850 global or local to buffer |global-local|
990 global or local to buffer |global-local|
1171 global or local to buffer |global-local|
2404 global or local to buffer |global-local|
2593 global or local to buffer |global-local|
2631 global or local to buffer |global-local|
2980 global or local to buffer |global-local|
3017 global or local to buffer |global-local|
3602 global or local to buffer |global-local|
[all …]
H A Dsign.txt199 By default, the sign is placed in the global sign group.
344 :sign place List placed signs in the global group in all files.
468 empty string, then only signs in the global group are
470 global group placed in all the buffers are returned.
481 group sign group. Set to '' for the global group.
495 " global group
544 the sign group name. To use the global sign group, use an
599 string, then the global group is used. See
682 groups including the global group are used.
732 empty string, then the global sign group is
[all …]
H A Dusr_05.txt432 global plugin: Used for all kinds of files
435 The global plugins will be discussed first, then the filetype ones
441 When you start Vim, it will automatically load a number of global plugins.
447 *add-global-plugin*
448 You can add a global plugin to add functionality that will always be present
449 when you use Vim. There are only two steps for adding a global plugin:
511 You can find them in the same places as the global plugins. Watch out if the
512 type of file is mentioned, then you know if the plugin is a global or a
520 name of this directory is in the same directory mentioned above for global
566 |load-plugins| When the global plugins are loaded during startup.
[all …]
H A Dif_pyth.txt301 Dictionary-like objects holding dictionaries with global (|g:|) and
307 getting items) providing a read-write access to global options.
308 Note: unlike |:set| this provides access only to global options. You
310 access local-only options in any fashion. Raises KeyError if no global
312 |global-local| options and global only options, but does for window-
447 and buffer-local values of |global-local| options. Use
450 |global-local| and local value is missing getting it
552 |python-buffer| and for global ones use
553 |python-options|. If option is |global-local|
809 to a crash when the second Python version is used. So either global symbols
[all …]
H A Dtextprop.txt158 added to. When not found, the global property types are used.
247 0 if the type is global
323 a property type from this buffer instead of from the global
339 this buffer instead of the global property types.
348 this buffer instead of the global property types.
H A Dusr_46.txt178 Besides avoiding putting any items in the global namespace (where name clashes
183 That is OK, but then only global items will be available. The Vim9 script
184 will have to make sure to use a unique name for these global items. Example: >
H A Dvim9.txt233 def g:ThatFunction() # global
239 is possible to define a global function by using the "g:" prefix.
245 - in the list of global functions
359 without any command. The same for global, window, tab, buffer and Vim
376 g:global = 'value'
945 :g:pattern:cmd # :global command
947 To avoid confusion between a `:global` or `:substitute` command and an
1124 The same is true for commands that are not compiled, such as `:global`.
1363 global namespace. If a file starts with: >
1691 Since legacy and Vim9 script will be mixed and global variables will be
[all …]
H A Drepeat.txt49 *:g* *:global* *E148*
59 :[range]v[global]/{pattern}/[cmd]
77 The global commands work by first scanning through the [range] lines and
85 line is aborted and the global command continues with the next marked or
101 The undo/redo command will undo/redo the whole global command at once.
103 where the cursor was before the global command).
105 The global command sets both the last used search pattern and the last used
113 When using "global" in Ex mode, a special case is using ":visual" as a
204 When used after |:global|, |:argdo|, |:windo|,
780 "idx". Prepend "g:" to get the value of a global variable: >
[all …]
H A Dusr_10.txt16 |10.4| The global command
176 To change every occurrence on the line, you need to add the g (global) flag.
343 *10.4* The global command
345 The ":global" command is one of the more powerful features of Vim. It allows
349 :[range]global/{pattern}/{command}
355 The command executed for ":global" must be one that starts with a
364 This starts with ":g". That is short for ":global", just like ":s" is short
369 The default range for the global command is the whole file. Thus no range
H A Dprint.txt87 global
102 global
131 global
182 global
195 global
204 global
278 global
315 global
/vim-8.2.3635/runtime/ftplugin/
H A Djulia.vim39 " note: the following regex not only recognizes macros, but also local/global keywords.
41 " or `global myfunction(...)` etc, for matchit and block movement functionality
42 let s:macro_regex = '\%(@\%([#(]\@!\S\)\+\|\<\%(local\|global\)\)\s\+'
54 while attr == 'juliaMacro' || expand('<cword>') =~# '\<\%(global\|local\)\>'
H A Dperl.vim38 " The following line changes a global variable but is necessary to make
67 " global / local settings, too.

1234567891011