Skip to content

Commit 7d3e4bc

Browse files
authored
Merge pull request #1156 from bhcleek/fix-sameids-BufWinEnter
clear buffer-local BufWinEnter properly
2 parents fa7dc2e + ffe8fc4 commit 7d3e4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/go/guru.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ function! go#guru#ClearSameIds() abort
542542
endfor
543543

544544
" remove the autocmds we defined
545-
if exists("#BufWinEnter<buffer>")
545+
if exists("#BufWinEnter#<buffer>")
546546
autocmd! BufWinEnter <buffer>
547547
endif
548548
endfunction

0 commit comments

Comments
 (0)