From bdcdd8d0d7527f62af651d8bece9a5b3e90fda2c Mon Sep 17 00:00:00 2001 From: cridemichel Date: Tue, 14 Jan 2020 11:11:37 +0100 Subject: [PATCH] Fix argument handling bug in AutoUpdate function (#584) --- autoload/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 7377016..48dd63f 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -2489,7 +2489,7 @@ function! s:AutoUpdate(fname, force, ...) abort " Whether we want to skip actually displaying the tags in Tagbar and only " update the fileinfo - let no_display = a:0 > 0 ? a:1 : 0 + let no_display = a:0 > 2 ? a:3 : 0 " This file is being loaded due to a quickfix command like vimgrep, so " don't process it