diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-07 16:37:32 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-07 16:37:32 +1200 |
commit | 0ce3100c92c5662286f2088ebd539336790da1ea (patch) | |
tree | 86cf3fff4f35412978fbee434ecea96bdf3ea782 /plugin/big_file_options.vim | |
parent | Allow setting options any time (diff) | |
download | vim-big-file-options-0ce3100c92c5662286f2088ebd539336790da1ea.tar.gz vim-big-file-options-0ce3100c92c5662286f2088ebd539336790da1ea.zip |
Simply 'synmaxcol' setting
Diffstat (limited to 'plugin/big_file_options.vim')
-rw-r--r-- | plugin/big_file_options.vim | 4 |
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 |