diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 11:53:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 11:53:59 +1200 |
commit | a09bdbb9f30670e6cdf571ac95ebee87d6f0ab32 (patch) | |
tree | e4c9da3bd032712e1de600406274d741b3076671 /plugin/quickfix_auto_open.vim | |
parent | Merge branch 'release/v2.1.0' into develop (diff) | |
download | vim-quickfix-auto-open-a09bdbb9f30670e6cdf571ac95ebee87d6f0ab32.tar.gz vim-quickfix-auto-open-a09bdbb9f30670e6cdf571ac95ebee87d6f0ab32.zip |
Refactor to avoid autoloading :lhelpgrep handler
Diffstat (limited to 'plugin/quickfix_auto_open.vim')
-rw-r--r-- | plugin/quickfix_auto_open.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/quickfix_auto_open.vim b/plugin/quickfix_auto_open.vim index c9473c4..65006fa 100644 --- a/plugin/quickfix_auto_open.vim +++ b/plugin/quickfix_auto_open.vim @@ -13,8 +13,10 @@ let loaded_quickfix_auto_open = 1 " Set up hooks for events that may yield a populated quickfix or location list augroup quickfix_auto_open autocmd! - autocmd QuickFixCmdPost * - \ call quickfix_auto_open#(expand('<amatch>')) autocmd VimEnter * \ cwindow + autocmd QuickFixCmdPost [^l]* + \ cwindow + autocmd QuickFixCmdPost l* + \ call quickfix_auto_open#(expand('<amatch>')) augroup END |