Skip to content

Commit feef9b3

Browse files
authored
Merge pull request #3657 from rhysd/issue-3656
Fix highlighting import string followed by some comment
2 parents 14eedf6 + 9049ae0 commit feef9b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/go.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ else
107107
syn region goRawString start=+`+ end=+`+
108108
endif
109109

110-
syn match goImportString /^\%(\s\+\|import \)\(\h\w* \)\?\zs"[^"]\+"$/ contained containedin=goImport
110+
syn match goImportString /^\%(\s\+\|import \)\(\h\w* \)\?\zs"[^"]\+"/ contained containedin=goImport
111111

112112
if go#config#HighlightFormatStrings()
113113
" [n] notation is valid for specifying explicit argument indexes

0 commit comments

Comments
 (0)