aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/big_file_options.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/big_file_options.vim b/plugin/big_file_options.vim
index a64d648..9b60976 100644
--- a/plugin/big_file_options.vim
+++ b/plugin/big_file_options.vim
@@ -36,8 +36,8 @@ function! s:BigFileOptions()
let l:synmaxcol = exists('g:big_file_synmaxcol')
\ ? g:big_file_synmaxcol
\ : 256
- if exists('+synmaxcol') && &synmaxcol > l:synmaxcol
- execute 'setlocal synmaxcol=' . l:synmaxcol
+ if exists('+synmaxcol') && &l:synmaxcol > l:synmaxcol
+ let &l:synmaxcol = l:synmaxcol
endif
" Disable syntax highlighting if configured to do so