aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_options.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-03-18 08:30:40 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-03-18 15:49:08 +0800
commitf0bd895995f8ef1a09fd942d6f8c3d096a6ac879 (patch)
treeb6841540bb681d7b8b38f81d7dcbce0888f8d836 /runtime/lua/vim/_options.lua
parent9d315fb8b728355e8f1872f783b1ae9948e4fd9b (diff)
downloadrneovim-f0bd895995f8ef1a09fd942d6f8c3d096a6ac879.tar.gz
rneovim-f0bd895995f8ef1a09fd942d6f8c3d096a6ac879.tar.bz2
rneovim-f0bd895995f8ef1a09fd942d6f8c3d096a6ac879.zip
vim-patch:3d46de703cf6
runtime(go): `goPackageComment` highlighting too broad Previously this would highlight any comment before a line starting `package`, for example var ( // This comment would be highlighted as a goPackageComment packages []string ) The package clause is only valid when followed by a space[1], so include this restriction This is upstreaming a change from `go-vim`[2] [1] https://go.dev/ref/spec#Package_clause [2] https://github.com/fatih/vim-go/commit/d1c36cc4173093d0be78fd826978a024febe6233 https://github.com/vim/vim/commit/3d46de703cf645032fa4dbcd71259176db1b46b7 Co-authored-by: Matthew Hughes <matthewhughes934@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_options.lua')
0 files changed, 0 insertions, 0 deletions