diff options
-rw-r--r-- | vim/config/completion.vim | 2 | ||||
-rw-r--r-- | vim/config/windows.vim | 2 | ||||
-rw-r--r-- | vim/config/wrap.vim | 2 | ||||
-rw-r--r-- | vim/plugin/big_file_options.vim | 2 | ||||
-rw-r--r-- | vim/plugin/copy_linebreak.vim | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/vim/config/completion.vim b/vim/config/completion.vim index 854ffea7..a8a5c201 100644 --- a/vim/config/completion.vim +++ b/vim/config/completion.vim @@ -21,7 +21,7 @@ if has('wildmenu') endif " Complete files without case sensitivity, if the option is available - if exists('&wildignorecase') + if exists('+wildignorecase') set wildignorecase endif diff --git a/vim/config/windows.vim b/vim/config/windows.vim index a0492c76..88b38f8c 100644 --- a/vim/config/windows.vim +++ b/vim/config/windows.vim @@ -16,7 +16,7 @@ if has('windows') endif " Only show the tab bar if there's more than one tab - if exists('&showtabline') + if exists('+showtabline') set showtabline=1 endif diff --git a/vim/config/wrap.vim b/vim/config/wrap.vim index 8c7829ba..a90c2765 100644 --- a/vim/config/wrap.vim +++ b/vim/config/wrap.vim @@ -30,7 +30,7 @@ if has('linebreak') set showbreak=... " If we have the option, indent wrapped lines as much as the first line - if has('&breakindent') + if exists('+breakindent') set breakindent endif diff --git a/vim/plugin/big_file_options.vim b/vim/plugin/big_file_options.vim index bbbedc96..cdced67d 100644 --- a/vim/plugin/big_file_options.vim +++ b/vim/plugin/big_file_options.vim @@ -44,7 +44,7 @@ function! s:BigFileOptions() endif " Limit the number of columns of syntax highlighting - if exists('&synmaxcol') + if exists('+synmaxcol') \ && &synmaxcol > g:big_file_synmaxcol execute 'setlocal synmaxcol=' . g:big_file_synmaxcol endif diff --git a/vim/plugin/copy_linebreak.vim b/vim/plugin/copy_linebreak.vim index 2b5f7243..732acfea 100644 --- a/vim/plugin/copy_linebreak.vim +++ b/vim/plugin/copy_linebreak.vim @@ -17,7 +17,7 @@ let g:loaded_copy_linebreak = 1 function! s:CopyLinebreakEnable() setlocal nolinebreak linebreak? setlocal showbreak= - if exists('&breakindent') + if exists('+breakindent') setlocal nobreakindent endif endfunction @@ -26,7 +26,7 @@ endfunction function! s:CopyLinebreakDisable() setlocal linebreak linebreak? setlocal showbreak< - if exists('&breakindent') + if exists('+breakindent') setlocal breakindent< endif endfunction |