From 68a5a47812841c9bd1f4a363eda22551284e9f61 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 19 Jun 2019 11:56:49 +1200 Subject: Correct function name --- autoload/quickfix_auto_open.vim | 2 +- plugin/quickfix_auto_open.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/quickfix_auto_open.vim b/autoload/quickfix_auto_open.vim index a190c34..4cbf323 100644 --- a/autoload/quickfix_auto_open.vim +++ b/autoload/quickfix_auto_open.vim @@ -1,5 +1,5 @@ " Handle a local quickfix command -function! quickfix_auto_open#Local(command) abort +function! quickfix_auto_open#Location(command) abort " The only difficult quickfix command to handle is :lhelpgrep, because it " uses the location list not for the current window but for a :help window, diff --git a/plugin/quickfix_auto_open.vim b/plugin/quickfix_auto_open.vim index 65006fa..6a6b334 100644 --- a/plugin/quickfix_auto_open.vim +++ b/plugin/quickfix_auto_open.vim @@ -18,5 +18,5 @@ augroup quickfix_auto_open autocmd QuickFixCmdPost [^l]* \ cwindow autocmd QuickFixCmdPost l* - \ call quickfix_auto_open#(expand('')) + \ call quickfix_auto_open#Location(expand('')) augroup END -- cgit v1.2.3