aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/big_file_options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/plugin/big_file_options.vim')
-rw-r--r--vim/plugin/big_file_options.vim2
1 files changed, 1 insertions, 1 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