aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-19 11:56:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-19 11:56:49 +1200
commit68a5a47812841c9bd1f4a363eda22551284e9f61 (patch)
treeb0849fbfbc354ed4912f68785abfbd0afc38c055
parentMerge branch 'release/v2.2.0' (diff)
downloadvim-quickfix-auto-open-68a5a47812841c9bd1f4a363eda22551284e9f61.tar.gz
vim-quickfix-auto-open-68a5a47812841c9bd1f4a363eda22551284e9f61.zip
Correct function name
-rw-r--r--autoload/quickfix_auto_open.vim2
-rw-r--r--plugin/quickfix_auto_open.vim2
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('<amatch>'))
+ \ call quickfix_auto_open#Location(expand('<amatch>'))
augroup END