mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-10-27 03:49:59 -04:00
Highlight more keywords
This commit is contained in:
1 parent
b5d8dddab5
commit
3737694512
1 file changed
+4
-3
@@ -9,12 +9,13 @@ rules:
|
||||
- statement: "^(export|include|override)\\>"
|
||||
- operator: "^[^:= ]+:"
|
||||
- operator: "([=,%]|\\+=|\\?=|:=|&&|\\|\\|)"
|
||||
- statement: "\\$\\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
|
||||
- statement: "\\$\\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
|
||||
- statement: "\\$\\((abspath|addprefix|addsuffix|and|basename|call|dir|mkdir)[[:space:]]"
|
||||
- statement: "(([a-z]+(-)?)?install(-)?([a-z]+)?(-)?([a-z]+))"
|
||||
- statement: "\\$\\((error|eval|filter|filter-out|findstring|firstword|case|esac|if|else|for|done|shift)[[:space:]]"
|
||||
- statement: "\\$\\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
|
||||
- statement: "\\$\\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
|
||||
- statement: "\\$\\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
|
||||
- identifier: "^.+:"
|
||||
- type: "^.+:"
|
||||
- identifier: "[()$]"
|
||||
- constant.string:
|
||||
start: "\""
|
||||
|
||||
Reference in new issue
Block a user