aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-19 11:57:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-19 11:57:32 +1200
commit2e1caf2a9af5c61a53bac0027131c9ea4b030710 (patch)
treebe23ba3c79ef3df2754c928c2224d394a3568970
parent295a71a8dd2a5384f3d30cf64713370fe8df5127 (diff)
parentf5daa0d56591309f00fc72ad361ed8dea0d0aa0f (diff)
downloadvim-quickfix-auto-open-master.tar.gz
vim-quickfix-auto-open-master.zip
Merge branch 'release/v2.2.1'HEADv2.2.1master
* release/v2.2.1: Correct function name
-rw-r--r--VERSION2
-rw-r--r--autoload/quickfix_auto_open.vim2
-rw-r--r--plugin/quickfix_auto_open.vim2
3 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index ccbccc3..c043eea 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.2.0
+2.2.1
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