From 245a0ddb889f4d4b8d978e60fb817d92d58cd5cf Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 17 Jun 2018 22:11:04 +1200 Subject: Rename and rearrange autocmd group --- plugin/big_file_options.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugin') 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 -- cgit v1.2.3