From aae092c25d423b6878be6e8faae9420919d60b43 Mon Sep 17 00:00:00 2001 From: Fredrik Enestad Date: Wed, 25 Apr 2018 13:39:10 +0200 Subject: [PATCH] fix the go syntax cleanup of .test files --- 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