aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:11:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-17 22:11:04 +1200
commit245a0ddb889f4d4b8d978e60fb817d92d58cd5cf (patch)
tree95ac28b6e8c1c972062ab51aca1cb3c587745c15
parentHide option variables if default (diff)
downloadvim-big-file-options-245a0ddb889f4d4b8d978e60fb817d92d58cd5cf.tar.gz
vim-big-file-options-245a0ddb889f4d4b8d978e60fb817d92d58cd5cf.zip
Rename and rearrange autocmd group
-rw-r--r--plugin/big_file_options.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugin/big_file_options.vim b/plugin/big_file_options.vim
index 5c92e8a..067d15c 100644
--- a/plugin/big_file_options.vim
+++ b/plugin/big_file_options.vim
@@ -57,9 +57,7 @@ function! s:BigFileOptions()
endfunction
" Define autocmd for calling to check filesize
-augroup big_file_options_bufreadpost
+augroup big_file_options
autocmd!
- autocmd BufReadPost
- \ *
- \ call s:BigFileOptions()
+ autocmd BufReadPost * call s:BigFileOptions()
augroup end