diff --git a/syntax/go.vim b/syntax/go.vim index 7e71f0033d..591b94fd39 100644 --- a/syntax/go.vim +++ b/syntax/go.vim @@ -107,7 +107,7 @@ else syn region goRawString start=+`+ end=+`+ endif -syn match goImportString /^\%(\s\+\|import \)\(\h\w* \)\?\zs"[^"]\+"$/ contained containedin=goImport +syn match goImportString /^\%(\s\+\|import \)\(\h\w* \)\?\zs"[^"]\+"/ contained containedin=goImport if go#config#HighlightFormatStrings() " [n] notation is valid for specifying explicit argument indexes