Lines Matching refs:global

652   let g:options = [['number', 0, 0, 0, 1, 'global', 'set']]
663 " 3: Setting global number option"
664 let g:options = [['number', 1, '', 1, 0, 'global', 'setglobal']]
675 " 5: Setting global autoindent option"
676 let g:options = [['autoindent', 0, '', 0, 1, 'global', 'setglobal']]
681 " 6: Setting global autoindent option"
682 let g:options = [['autoindent', 1, 1, 1, 0, 'global', 'set']]
687 " 6a: Setting global autoindent option"
688 let g:options = [['autoindent', 1, 1, 0, 0, 'global', 'set']]
702 " 8: Setting several global list and number option"
703 let g:options = [['list', 0, 0, 0, 1, 'global', 'set'], ['number', 0, 0, 0, 1, 'global', 'set']]
714 " 10: Setting global acd"
720 " 11: Setting global autoread (also sets local value)"
721 let g:options = [['autoread', 0, 0, 0, 1, 'global', 'set']]
732 " 13: Setting global autoread"
733 let g:options = [['autoread', 1, '', 1, 0, 'global', 'setglobal']]
739 let g:options = [['backspace', '', '', '', 'eol,indent,start', 'global', 'set']]
769 " 18a: Setting string global option"
771 let g:options = [['backupext', oldval, oldval, oldval, 'foo', 'global', 'set']]
776 " 18b: Resetting string global option"
777 let g:options = [['backupext', 'foo', 'foo', 'foo', oldval, 'global', 'set']]
782 " 18c: Setting global string global option"
783 let g:options = [['backupext', oldval, '', oldval, 'bar', 'global', 'setglobal']]
788 " 18d: Setting local string global option"
789 " As this is a global option this sets the global value even though
791 noa set backupext& " Reset global and local value (without triggering autocmd)
797 " 18e: Setting again string global option"
798 noa setglobal backupext=ext_global " Reset global and local value (without triggering autocmd)
799 noa setlocal backupext=ext_local " Sets the global(!) value!
800 let g:options = [['backupext', 'ext_local', 'ext_local', 'ext_local', 'fuu', 'global', 'set']]
806 " 19a: Setting string global-local (to buffer) option"
808 let g:options = [['tags', oldval, oldval, oldval, 'tagpath', 'global', 'set']]
813 " 19b: Resetting string global-local (to buffer) option"
814 let g:options = [['tags', 'tagpath', 'tagpath', 'tagpath', oldval, 'global', 'set']]
819 " 19c: Setting global string global-local (to buffer) option "
820 let g:options = [['tags', oldval, '', oldval, 'tagpath1', 'global', 'setglobal']]
825 " 19d: Setting local string global-local (to buffer) option"
831 " 19e: Setting again string global-local (to buffer) option"
832 " Note: v:option_old is the old global value for global-local string options
834 noa setglobal tags=tag_global " Reset global and local value (without triggering autocmd)
836 let g:options = [['tags', 'tag_global', 'tag_local', 'tag_global', 'tagpath', 'global', 'set']]
841 " 19f: Setting string global-local (to buffer) option to an empty string"
842 " Note: v:option_old is the old global value for global-local string options
844 noa set tags=tag_global " Reset global and local value (without triggering autocmd)
846 let g:options = [['tags', 'tag_global', '', 'tag_global', 'tagpath', 'global', 'set']]
854 let g:options = [['spelllang', oldval, oldval, oldval, 'elvish,klingon', 'global', 'set']]
860 …ns = [['spelllang', 'elvish,klingon', 'elvish,klingon', 'elvish,klingon', oldval, 'global', 'set']]
865 " 20c: Setting global string local (to buffer) option"
866 let g:options = [['spelllang', oldval, '', oldval, 'elvish', 'global', 'setglobal']]
872 noa set spelllang& " Reset global and local value (without triggering autocmd)
879 " Note: v:option_old is the old global value for global-local string options
881 noa setglobal spelllang=spellglobal " Reset global and local value (without triggering autocmd)
883 let g:options = [['spelllang', 'spelllocal', 'spelllocal', 'spellglobal', 'foo', 'global', 'set']]
889 " 21a: Setting string global-local (to window) option"
891 let g:options = [['statusline', oldval, oldval, oldval, 'foo', 'global', 'set']]
896 " 21b: Resetting string global-local (to window) option"
897 " Note: v:option_old is the old global value for global-local string options
899 let g:options = [['statusline', 'foo', 'foo', 'foo', oldval, 'global', 'set']]
904 " 21c: Setting global string global-local (to window) option"
905 let g:options = [['statusline', oldval, '', oldval, 'bar', 'global', 'setglobal']]
910 " 21d: Setting local string global-local (to window) option"
911 noa set statusline& " Reset global and local value (without triggering autocmd)
917 " 21e: Setting again string global-local (to window) option"
918 " Note: v:option_old is the old global value for global-local string options
920 noa setglobal statusline=bar " Reset global and local value (without triggering autocmd)
922 let g:options = [['statusline', 'bar', 'baz', 'bar', 'foo', 'global', 'set']]
930 let g:options = [['foldignore', oldval, oldval, oldval, 'fo', 'global', 'set']]
936 let g:options = [['foldignore', 'fo', 'fo', 'fo', oldval, 'global', 'set']]
941 " 22c: Setting global string local (to window) option"
942 let g:options = [['foldignore', oldval, '', oldval, 'bar', 'global', 'setglobal']]
948 noa set foldignore& " Reset global and local value (without triggering autocmd)
955 noa setglobal foldignore=glob " Reset global and local value (without triggering autocmd)
957 let g:options = [['foldignore', 'loc', 'loc', 'glob', 'fo', 'global', 'set']]
963 " 23a: Setting global number global option"
964 noa setglobal cmdheight=8 " Reset global and local value (without triggering autocmd)
965 noa setlocal cmdheight=1 " Sets the global(!) value!
966 let g:options = [['cmdheight', '1', '', '1', '2', 'global', 'setglobal']]
971 " 23b: Setting local number global option"
972 noa setglobal cmdheight=8 " Reset global and local value (without triggering autocmd)
973 noa setlocal cmdheight=1 " Sets the global(!) value!
979 " 23c: Setting again number global option"
980 noa setglobal cmdheight=8 " Reset global and local value (without triggering autocmd)
981 noa setlocal cmdheight=1 " Sets the global(!) value!
982 let g:options = [['cmdheight', '1', '1', '1', '2', 'global', 'set']]
987 " 23d: Setting again number global option"
988 noa set cmdheight=8 " Reset global and local value (without triggering autocmd)
989 let g:options = [['cmdheight', '8', '8', '8', '2', 'global', 'set']]
995 " 24a: Setting global number global-local (to buffer) option"
996 noa setglobal undolevels=8 " Reset global and local value (without triggering autocmd)
998 let g:options = [['undolevels', '8', '', '8', '2', 'global', 'setglobal']]
1003 " 24b: Setting local number global-local (to buffer) option"
1004 noa setglobal undolevels=8 " Reset global and local value (without triggering autocmd)
1011 " 24c: Setting again number global-local (to buffer) option"
1012 noa setglobal undolevels=8 " Reset global and local value (without triggering autocmd)
1014 let g:options = [['undolevels', '1', '1', '8', '2', 'global', 'set']]
1019 " 24d: Setting again global number global-local (to buffer) option"
1020 noa set undolevels=8 " Reset global and local value (without triggering autocmd)
1021 let g:options = [['undolevels', '8', '8', '8', '2', 'global', 'set']]
1027 " 25a: Setting global number local (to buffer) option"
1028 noa setglobal wrapmargin=8 " Reset global and local value (without triggering autocmd)
1030 let g:options = [['wrapmargin', '8', '', '8', '2', 'global', 'setglobal']]
1036 noa setglobal wrapmargin=8 " Reset global and local value (without triggering autocmd)
1044 noa setglobal wrapmargin=8 " Reset global and local value (without triggering autocmd)
1046 let g:options = [['wrapmargin', '1', '1', '8', '2', 'global', 'set']]
1051 " 25d: Setting again global number local (to buffer) option"
1052 noa set wrapmargin=8 " Reset global and local value (without triggering autocmd)
1053 let g:options = [['wrapmargin', '8', '8', '8', '2', 'global', 'set']]
1059 " 26: Setting number global-local (to window) option.
1063 " 27a: Setting global number local (to window) option"
1064 noa setglobal foldcolumn=8 " Reset global and local value (without triggering autocmd)
1066 let g:options = [['foldcolumn', '8', '', '8', '2', 'global', 'setglobal']]
1072 noa setglobal foldcolumn=8 " Reset global and local value (without triggering autocmd)
1080 noa setglobal foldcolumn=8 " Reset global and local value (without triggering autocmd)
1082 let g:options = [['foldcolumn', '1', '1', '8', '2', 'global', 'set']]
1087 " 27d: Setting again global number local (to window) option"
1088 noa set foldcolumn=8 " Reset global and local value (without triggering autocmd)
1089 let g:options = [['foldcolumn', '8', '8', '8', '2', 'global', 'set']]
1095 " 28a: Setting global boolean global option"
1096 noa setglobal nowrapscan " Reset global and local value (without triggering autocmd)
1097 noa setlocal wrapscan " Sets the global(!) value!
1098 let g:options = [['wrapscan', '1', '', '1', '0', 'global', 'setglobal']]
1103 " 28b: Setting local boolean global option"
1104 noa setglobal nowrapscan " Reset global and local value (without triggering autocmd)
1105 noa setlocal wrapscan " Sets the global(!) value!
1111 " 28c: Setting again boolean global option"
1112 noa setglobal nowrapscan " Reset global and local value (without triggering autocmd)
1113 noa setlocal wrapscan " Sets the global(!) value!
1114 let g:options = [['wrapscan', '1', '1', '1', '0', 'global', 'set']]
1119 " 28d: Setting again global boolean global option"
1120 noa set nowrapscan " Reset global and local value (without triggering autocmd)
1121 let g:options = [['wrapscan', '0', '0', '0', '1', 'global', 'set']]
1127 " 29a: Setting global boolean global-local (to buffer) option"
1128 noa setglobal noautoread " Reset global and local value (without triggering autocmd)
1130 let g:options = [['autoread', '0', '', '0', '1', 'global', 'setglobal']]
1135 " 29b: Setting local boolean global-local (to buffer) option"
1136 noa setglobal noautoread " Reset global and local value (without triggering autocmd)
1143 " 29c: Setting again boolean global-local (to buffer) option"
1144 noa setglobal noautoread " Reset global and local value (without triggering autocmd)
1146 let g:options = [['autoread', '1', '1', '0', '1', 'global', 'set']]
1151 " 29d: Setting again global boolean global-local (to buffer) option"
1152 noa set noautoread " Reset global and local value (without triggering autocmd)
1153 let g:options = [['autoread', '0', '0', '0', '1', 'global', 'set']]
1159 " 30a: Setting global boolean local (to buffer) option"
1160 noa setglobal nocindent " Reset global and local value (without triggering autocmd)
1162 let g:options = [['cindent', '0', '', '0', '1', 'global', 'setglobal']]
1168 noa setglobal nocindent " Reset global and local value (without triggering autocmd)
1176 noa setglobal nocindent " Reset global and local value (without triggering autocmd)
1178 let g:options = [['cindent', '1', '1', '0', '1', 'global', 'set']]
1183 " 30d: Setting again global boolean local (to buffer) option"
1184 noa set nocindent " Reset global and local value (without triggering autocmd)
1185 let g:options = [['cindent', '0', '0', '0', '1', 'global', 'set']]
1191 " 31: Setting boolean global-local (to window) option
1195 " 32a: Setting global boolean local (to window) option"
1196 noa setglobal nocursorcolumn " Reset global and local value (without triggering autocmd)
1198 let g:options = [['cursorcolumn', '0', '', '0', '1', 'global', 'setglobal']]
1204 noa setglobal nocursorcolumn " Reset global and local value (without triggering autocmd)
1212 noa setglobal nocursorcolumn " Reset global and local value (without triggering autocmd)
1214 let g:options = [['cursorcolumn', '1', '1', '0', '1', 'global', 'set']]
1219 " 32d: Setting again global boolean local (to window) option"
1220 noa set nocursorcolumn " Reset global and local value (without triggering autocmd)
1221 let g:options = [['cursorcolumn', '0', '0', '0', '1', 'global', 'set']]
1228 noa set backspace=1 " Reset global and local value (without triggering autocmd)
1229 let g:options = [['backspace', 'indent,eol', 'indent,eol', 'indent,eol', '2', 'global', 'set']]
1924 autocmd test_dirchanged DirChanged global call add(s:li, "cd:")
1925 autocmd test_dirchanged DirChanged global call add(s:li, expand("<afile>"))