Lines Matching refs:local

657   " 2: Setting local number option"
658 let g:options = [['number', 1, 1, '', 0, 'local', 'setlocal']]
669 " 4: Setting local autoindent option"
670 let g:options = [['autoindent', 0, 0, '', 1, 'local', 'setlocal']]
715 let g:options = [['autochdir', 0, 0, '', 1, 'local', 'setlocal']]
720 " 11: Setting global autoread (also sets local value)"
726 " 12: Setting local autoread"
727 let g:options = [['autoread', 1, 1, '', 1, 'local', 'setlocal']]
745 let g:options = [['backup', 0, 0, '', 1, 'local', 'setlocal']]
756 let g:options = [['number', 0, 0, '', 1, 'local', 'setlocal']]
788 " 18d: Setting local string global option"
791 noa set backupext& " Reset global and local value (without triggering autocmd)
792 let g:options = [['backupext', oldval, oldval, '', 'baz', 'local', 'setlocal']]
798 noa setglobal backupext=ext_global " Reset global and local value (without triggering autocmd)
806 " 19a: Setting string global-local (to buffer) option"
813 " 19b: Resetting string global-local (to buffer) option"
819 " 19c: Setting global string global-local (to buffer) option "
825 " 19d: Setting local string global-local (to buffer) option"
826 let g:options = [['tags', 'tagpath1', 'tagpath1', '', 'tagpath2', 'local', 'setlocal']]
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
833 " but the old local value for all other kinds of options.
834 noa setglobal tags=tag_global " Reset global and local value (without triggering autocmd)
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
843 " but the old local value for all other kinds of options.
844 noa set tags=tag_global " Reset global and local value (without triggering autocmd)
852 " 20a: Setting string local (to buffer) option"
859 " 20b: Resetting string local (to buffer) option"
865 " 20c: Setting global string local (to buffer) option"
871 " 20d: Setting local string local (to buffer) option"
872 noa set spelllang& " Reset global and local value (without triggering autocmd)
873 let g:options = [['spelllang', oldval, oldval, '', 'klingon', 'local', 'setlocal']]
878 " 20e: Setting again string local (to buffer) option"
879 " Note: v:option_old is the old global value for global-local string options
880 " but the old local value for all other kinds of options.
881 noa setglobal spelllang=spellglobal " Reset global and local value (without triggering autocmd)
889 " 21a: Setting string global-local (to window) option"
896 " 21b: Resetting string global-local (to window) option"
897 " Note: v:option_old is the old global value for global-local string options
898 " but the old local value for all other kinds of options.
904 " 21c: Setting global string global-local (to window) option"
910 " 21d: Setting local string global-local (to window) option"
911 noa set statusline& " Reset global and local value (without triggering autocmd)
912 let g:options = [['statusline', oldval, oldval, '', 'baz', 'local', 'setlocal']]
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
919 " but the old local value for all other kinds of options.
920 noa setglobal statusline=bar " Reset global and local value (without triggering autocmd)
928 " 22a: Setting string local (to window) option"
935 " 22b: Resetting string local (to window) option"
941 " 22c: Setting global string local (to window) option"
947 " 22d: Setting local string local (to window) option"
948 noa set foldignore& " Reset global and local value (without triggering autocmd)
949 let g:options = [['foldignore', oldval, oldval, '', 'baz', 'local', 'setlocal']]
954 " 22e: Setting again string local (to window) option"
955 noa setglobal foldignore=glob " Reset global and local value (without triggering autocmd)
964 noa setglobal cmdheight=8 " Reset global and local value (without triggering autocmd)
971 " 23b: Setting local number global option"
972 noa setglobal cmdheight=8 " Reset global and local value (without triggering autocmd)
974 let g:options = [['cmdheight', '1', '1', '', '2', 'local', 'setlocal']]
980 noa setglobal cmdheight=8 " Reset global and local value (without triggering autocmd)
988 noa set cmdheight=8 " Reset global and local value (without triggering autocmd)
995 " 24a: Setting global number global-local (to buffer) option"
996 noa setglobal undolevels=8 " Reset global and local value (without triggering autocmd)
1003 " 24b: Setting local number global-local (to buffer) option"
1004 noa setglobal undolevels=8 " Reset global and local value (without triggering autocmd)
1006 let g:options = [['undolevels', '1', '1', '', '2', 'local', 'setlocal']]
1011 " 24c: Setting again number global-local (to buffer) option"
1012 noa setglobal undolevels=8 " Reset global and local value (without triggering autocmd)
1019 " 24d: Setting again global number global-local (to buffer) option"
1020 noa set undolevels=8 " Reset global and local value (without triggering autocmd)
1027 " 25a: Setting global number local (to buffer) option"
1028 noa setglobal wrapmargin=8 " Reset global and local value (without triggering autocmd)
1035 " 25b: Setting local number local (to buffer) option"
1036 noa setglobal wrapmargin=8 " Reset global and local value (without triggering autocmd)
1038 let g:options = [['wrapmargin', '1', '1', '', '2', 'local', 'setlocal']]
1043 " 25c: Setting again number local (to buffer) option"
1044 noa setglobal wrapmargin=8 " Reset global and local value (without triggering autocmd)
1051 " 25d: Setting again global number local (to buffer) option"
1052 noa set wrapmargin=8 " Reset global and local value (without triggering autocmd)
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)
1071 " 27b: Setting local number local (to window) option"
1072 noa setglobal foldcolumn=8 " Reset global and local value (without triggering autocmd)
1074 let g:options = [['foldcolumn', '1', '1', '', '2', 'local', 'setlocal']]
1079 " 27c: Setting again number local (to window) option"
1080 noa setglobal foldcolumn=8 " Reset global and local value (without triggering autocmd)
1087 " 27d: Setting again global number local (to window) option"
1088 noa set foldcolumn=8 " Reset global and local value (without triggering autocmd)
1096 noa setglobal nowrapscan " Reset global and local value (without triggering autocmd)
1103 " 28b: Setting local boolean global option"
1104 noa setglobal nowrapscan " Reset global and local value (without triggering autocmd)
1106 let g:options = [['wrapscan', '1', '1', '', '0', 'local', 'setlocal']]
1112 noa setglobal nowrapscan " Reset global and local value (without triggering autocmd)
1120 noa set nowrapscan " Reset global and local value (without triggering autocmd)
1127 " 29a: Setting global boolean global-local (to buffer) option"
1128 noa setglobal noautoread " Reset global and local value (without triggering autocmd)
1135 " 29b: Setting local boolean global-local (to buffer) option"
1136 noa setglobal noautoread " Reset global and local value (without triggering autocmd)
1138 let g:options = [['autoread', '1', '1', '', '0', 'local', 'setlocal']]
1143 " 29c: Setting again boolean global-local (to buffer) option"
1144 noa setglobal noautoread " Reset global and local value (without triggering autocmd)
1151 " 29d: Setting again global boolean global-local (to buffer) option"
1152 noa set noautoread " Reset global and local value (without triggering autocmd)
1159 " 30a: Setting global boolean local (to buffer) option"
1160 noa setglobal nocindent " Reset global and local value (without triggering autocmd)
1167 " 30b: Setting local boolean local (to buffer) option"
1168 noa setglobal nocindent " Reset global and local value (without triggering autocmd)
1170 let g:options = [['cindent', '1', '1', '', '0', 'local', 'setlocal']]
1175 " 30c: Setting again boolean local (to buffer) option"
1176 noa setglobal nocindent " Reset global and local value (without triggering autocmd)
1183 " 30d: Setting again global boolean local (to buffer) option"
1184 noa set nocindent " Reset global and local value (without triggering autocmd)
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)
1203 " 32b: Setting local boolean local (to window) option"
1204 noa setglobal nocursorcolumn " Reset global and local value (without triggering autocmd)
1206 let g:options = [['cursorcolumn', '1', '1', '', '0', 'local', 'setlocal']]
1211 " 32c: Setting again boolean local (to window) option"
1212 noa setglobal nocursorcolumn " Reset global and local value (without triggering autocmd)
1219 " 32d: Setting again global boolean local (to window) option"
1220 noa set nocursorcolumn " Reset global and local value (without triggering autocmd)
1228 noa set backspace=1 " Reset global and local value (without triggering autocmd)
1569 " Some tests for buffer-local autocommands