diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 93a1370d..16a4985f 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.6.0-164' +let g:_SYNTASTIC_VERSION = '3.6.0-165' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/go/gometalinter.vim b/syntax_checkers/go/gometalinter.vim index c2bc9325..c61a7bb1 100644 --- a/syntax_checkers/go/gometalinter.vim +++ b/syntax_checkers/go/gometalinter.vim @@ -33,7 +33,7 @@ function! SyntaxCheckers_go_gometalinter_GetLocList() dict \ 'returns': [0, 1] }) for e in loclist - if e['text'] =~# '\v\((deadcode|gocyclo|golint|defercheck|varcheck|structcheck|errcheck|dupl)\)$' + if e['text'] =~# '\v\(%(deadcode|gocyclo|golint|defercheck|varcheck|structcheck|errcheck|dupl)\)$' let e['subtype'] = 'Style' endif endfor