mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
different highlight for variable declaration
This commit is contained in:
parent
2f86038abe
commit
93c2943ff9
@ -30,7 +30,7 @@ addhl -group /go/code regex %{-?([0-9]*\.(?!0[xX]))?\b([0-9]+|0[xX][0-9a-fA-F]+)
|
|||||||
# Grammar
|
# Grammar
|
||||||
keywords="break|default|defer|else|fallthrough|for|func|go|goto|if|import"
|
keywords="break|default|defer|else|fallthrough|for|func|go|goto|if|import"
|
||||||
keywords="${keywords}|interface|make|new|package|range|return|select|case|switch|type|continue"
|
keywords="${keywords}|interface|make|new|package|range|return|select|case|switch|type|continue"
|
||||||
keywords="${keywords}|var|const"
|
attributes="const|var"
|
||||||
types="bool|byte|chan|complex128|complex64|float32|float64|int|int16|int32"
|
types="bool|byte|chan|complex128|complex64|float32|float64|int|int16|int32"
|
||||||
types="${types}|int64|int8|interface|intptr|map|rune|string|struct|uint|uint16|uint32|uint64|uint8"
|
types="${types}|int64|int8|interface|intptr|map|rune|string|struct|uint|uint16|uint32|uint64|uint8"
|
||||||
values="false|true|nil"
|
values="false|true|nil"
|
||||||
|
Loading…
Reference in New Issue
Block a user