Nimbin[12]?Mirrors & Forks / syntastic / commits / aae092c2

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

fix the go syntax cleanup of .test files

Fredrik Enestad · 2018-04-25 11:39 · aae092c25d423b6878be6e8faae9420919d60b43

 syntax_checkers/go/go.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax_checkers/go/go.vim b/syntax_checkers/go/go.vim
index 56cf6590..e0b08873 100644
--- a/syntax_checkers/go/go.vim
+++ b/syntax_checkers/go/go.vim
@@ -88,7 +88,7 @@ function! SyntaxCheckers_go_go_GetLocList() dict
         \ 'defaults': {'type': 'e'} })
 
     if cleanup
-        call delete(fnamemodify(bufname(buf), ':p:h') . syntastic#util#Slash() . fnamemodify(bufname(buf), ':p:h') . '.test')
+        call delete(fnamemodify(bufname(buf), ':p:h') . syntastic#util#Slash() . fnamemodify(bufname(buf), ':p:h:t') . '.test')
     endif
 
     return errors