From 37376945124d326baffdc38637e08763280a4cad Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Wed, 19 Jul 2023 16:40:38 +0100 Subject: [PATCH] Highlight more keywords --- syntax_files/makefile.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/syntax_files/makefile.yaml b/syntax_files/makefile.yaml index 72502a8..4bf3c20 100644 --- a/syntax_files/makefile.yaml +++ b/syntax_files/makefile.yaml @@ -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: "\""