mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-30 22:06:27 -04:00
Highlight more keywords
This commit is contained in:
@@ -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