diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-07 01:16:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-07 01:16:54 +1200 |
commit | 9e798d42a5c283a51d51be4762ea33b700ff5f00 (patch) | |
tree | 4a78158708a525087f180df67e308feeaf004515 | |
parent | Merge branch 'release/v2.0.0' (diff) | |
download | vim-quickfix-auto-open-9e798d42a5c283a51d51be4762ea33b700ff5f00.tar.gz vim-quickfix-auto-open-9e798d42a5c283a51d51be4762ea33b700ff5f00.zip |
Define quickfix command name for VimEnter hook
Otherwise it uses the VimEnter filename, which causes a nonexistent
location list error if it happens to start with 'l'.
-rw-r--r-- | plugin/quickfix_auto_open.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/quickfix_auto_open.vim b/plugin/quickfix_auto_open.vim index 507dff3..96676c5 100644 --- a/plugin/quickfix_auto_open.vim +++ b/plugin/quickfix_auto_open.vim @@ -16,5 +16,5 @@ augroup quickfix_auto_open autocmd QuickFixCmdPost * \ call quickfix_auto_open#(expand('<amatch>')) autocmd VimEnter * - \ doautocmd quickfix_auto_open QuickFixCmdPost + \ doautocmd quickfix_auto_open QuickFixCmdPost cfile augroup END |