aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/big_file_options.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/big_file_options.vim b/autoload/big_file_options.vim
index 0eca0be..023c672 100644
--- a/autoload/big_file_options.vim
+++ b/autoload/big_file_options.vim
@@ -91,7 +91,7 @@ function! s:SetPost() abort
" Force maximum syntax columns down if configured
if exists('+synmaxcol')
let synmaxcol = get(g:, 'big_file_options_synmaxcol', 256)
- if exists('+synmaxcol') && &synmaxcol > synmaxcol
+ if &synmaxcol > synmaxcol
let &l:synmaxcol = synmaxcol
endif
endif