1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-04-07 02:16:44 +02:00
Commit graph

9 commits

Author SHA1 Message Date
Linda_pp
122d068585
runtime(go): fix highlighting import string followed by some comment ()
Signed-off-by: rhysd <lin90162@yahoo.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-13 17:56:17 +02:00
Matthew Hughes
3d46de703c
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] d1c36cc417

Signed-off-by: Matthew Hughes <matthewhughes934@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-17 20:05:43 +01:00
Billie Cleek
ea9a93e5b0
runtime(go): update Go syntax file ()
Update the Go syntax file with some recent changes made to vim-go.

Signed-off-by: Billie Cleek <bhcleek@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-22 20:08:44 +01:00
José-Paul D
b0d584d97a
runtime(go): Update Go syntax file with 1.21 builtins ()
* Update Go syntax file with 1.21 builtins
2023-08-22 19:29:19 +01:00
Bram Moolenaar
938ae280c7 Update runtime files. 2023-02-20 20:44:55 +00:00
Bram Moolenaar
d13166e788 Update runtime files 2022-11-18 21:49:57 +00:00
Bram Moolenaar
34cc7d8c03 Update runtime files 2021-09-21 20:09:51 +02:00
Bram Moolenaar
90df4b9d42 Update runtime files 2021-07-07 20:26:08 +02:00
Bram Moolenaar
fb539273c9 Updated runtime files. 2014-08-22 19:21:47 +02:00