runtime(go): fix highlighting import string followed by some comment (#14538)

Commit: 
https://github.com/vim/vim/commit/122d068585686babd63f0b729759ec269171d464
Author: Linda_pp <rh...@users.noreply.github.com>
Date:   Sun Apr 14 00:56:17 2024 +0900

    runtime(go): fix highlighting import string followed by some comment 
(https://github.com/vim/vim/issues/14538)
    
    Signed-off-by: rhysd <lin90...@yahoo.co.jp>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/syntax/go.vim b/runtime/syntax/go.vim
index 8685867c2..feed9646f 100644
--- a/runtime/syntax/go.vim
+++ b/runtime/syntax/go.vim
@@ -5,7 +5,7 @@
 " go.vim: Vim syntax file for Go.
 " Language:             Go
 " Maintainer:           Billie Cleek <bhcl...@gmail.com>
-" Latest Revision:      2024-03-17
+" Latest Revision:      2024-04-13
 "  2024-03-17:          - fix goPackageComment highlight (by Vim Project)
 " License:              BSD-style. See LICENSE file in source repository.
 " Repository:           https://github.com/fatih/vim-go
@@ -191,7 +191,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 s:HighlightFormatStrings()
   " [n] notation is valid for specifying explicit argument indexes

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rvfnT-008IDT-Vr%40256bit.org.

Raspunde prin e-mail lui