diff options
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/big_file_options.vim | 2 | ||||
-rw-r--r-- | vim/plugin/copy_linebreak.vim | 4 |
2 files changed, 3 insertions, 3 deletions
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 |