diff options
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/bigfile.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vim/plugin/bigfile.vim b/vim/plugin/bigfile.vim index d1d9ca61..7f28c539 100644 --- a/vim/plugin/bigfile.vim +++ b/vim/plugin/bigfile.vim @@ -8,8 +8,10 @@ " if has('eval') && has('autocmd') - " Threshold is 10 MiB - let g:big_file_size = 10 * 1024 * 1024 + " Default threshold is 10 MiB + if !exists('g:big_file_size') + let g:big_file_size = 10 * 1024 * 1024 + endif " Declare function for turning off slow options function! s:BigFileMeasures() |