aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-25 17:23:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-25 17:23:06 +1200
commitf89394a347e96c6c69661611d14867d0d931a698 (patch)
tree8500058d395a6876703d15c05873333a3096c9ef
parentAdd "abort" attribute to functions (diff)
downloadvim-big-file-options-f89394a347e96c6c69661611d14867d0d931a698.tar.gz
vim-big-file-options-f89394a347e96c6c69661611d14867d0d931a698.zip
Remove redundant option existence check
-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