diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-04-13 18:32:23 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-04-13 22:41:51 +0200 |
commit | ee18c26f26452ef40ec5a99412071d7a6143a1ba (patch) | |
tree | 11c9024f816838a0e6493e72e62b8dc04df4ab95 | |
parent | 328a2373514a880ea80bed53d63de76e2dea2a9c (diff) | |
download | rneovim-ee18c26f26452ef40ec5a99412071d7a6143a1ba.tar.gz rneovim-ee18c26f26452ef40ec5a99412071d7a6143a1ba.tar.bz2 rneovim-ee18c26f26452ef40ec5a99412071d7a6143a1ba.zip |
vim-patch:122d06858568
runtime(go): fix highlighting import string followed by some comment (vim/vim#14538)
https://github.com/vim/vim/commit/122d068585686babd63f0b729759ec269171d464
Co-authored-by: Linda_pp <rhysd@users.noreply.github.com>
-rw-r--r-- | runtime/syntax/go.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/go.vim b/runtime/syntax/go.vim index 8685867c27..feed9646fb 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 <bhcleek@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 |