From 8ac1fe4bf65ee3cf825929a2642f8b660890ddb1 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 5 Jun 2019 21:53:29 +1200 Subject: Refactor to use deferred/dynamic hooks --- plugin/big_file_options.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugin/big_file_options.vim') diff --git a/plugin/big_file_options.vim b/plugin/big_file_options.vim index 89b65c2..e02e935 100644 --- a/plugin/big_file_options.vim +++ b/plugin/big_file_options.vim @@ -14,7 +14,5 @@ let loaded_big_file_options = 1 augroup big_file_options autocmd! autocmd BufReadPre,StdinReadPre * - \ call big_file_options#CheckPre(expand('')) - autocmd BufReadPost,StdinReadPost * - \ call big_file_options#CheckPost() + \ call big_file_options#() augroup end -- cgit v1.2.3