diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-07 16:40:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-07 16:40:00 +1200 |
commit | f393fa3efb9601c874c8a298436c5ada421e8d9b (patch) | |
tree | df5ebdc3b4965b7a3959423be1a67cf6046e46ae /plugin/big_file_options.vim | |
parent | Simply 'synmaxcol' setting (diff) | |
download | vim-big-file-options-f393fa3efb9601c874c8a298436c5ada421e8d9b.tar.gz vim-big-file-options-f393fa3efb9601c874c8a298436c5ada421e8d9b.zip |
Use full plugin name in options prefix
Diffstat (limited to 'plugin/big_file_options.vim')
-rw-r--r-- | plugin/big_file_options.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugin/big_file_options.vim b/plugin/big_file_options.vim index 9b60976..90fc27d 100644 --- a/plugin/big_file_options.vim +++ b/plugin/big_file_options.vim @@ -17,8 +17,8 @@ let g:loaded_big_file_options = 1 function! s:BigFileOptions() " Don't do anything if the buffer size is under the threshold - let l:size = exists('g:big_file_size') - \ ? g:big_file_size + let l:size = exists('g:big_file_options_size') + \ ? g:big_file_options_size \ : 10 * 1024 * 1024 if line2byte(line('$') + 1) <= l:size return @@ -33,16 +33,16 @@ function! s:BigFileOptions() endif " Limit the number of columns of syntax highlighting - let l:synmaxcol = exists('g:big_file_synmaxcol') - \ ? g:big_file_synmaxcol + let l:synmaxcol = exists('g:big_file_options_synmaxcol') + \ ? g:big_file_options_synmaxcol \ : 256 if exists('+synmaxcol') && &l:synmaxcol > l:synmaxcol let &l:synmaxcol = l:synmaxcol endif " Disable syntax highlighting if configured to do so - let l:syntax = exists('g:big_file_syntax') - \ ? g:big_file_syntax + let l:syntax = exists('g:big_file_options_syntax') + \ ? g:big_file_options_syntax \ : 0 if !l:syntax setlocal syntax=OFF |