From 29d4bb718d3906df5099880aac614af50e4192be Mon Sep 17 00:00:00 2001 From: "Karl.Zheng" Date: Sat, 22 May 2021 11:32:08 +0800 Subject: [PATCH] [Feat] don't do SrcExpl_Refresh when in __Tag_List__ buffer Signed-off-by: Karl.Zheng --- plugin/srcexpl.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/srcexpl.vim b/plugin/srcexpl.vim index dc14f81..cf5083e 100644 --- a/plugin/srcexpl.vim +++ b/plugin/srcexpl.vim @@ -524,6 +524,10 @@ function! SrcExpl_Refresh() return -4 endif + if bufname("%") == "__Tag_List__" + return -5 + endif + let l:expr = '\<' . s:SrcExpl_symbol . '\>' . '\C' " Try to Go to local declaration