]> git.lizzy.rs Git - micro.git/commitdiff
Fix Makefile = highlighting
authorsum01 <sum01@protonmail.com>
Thu, 18 Jan 2018 04:44:53 +0000 (23:44 -0500)
committersum01 <sum01@protonmail.com>
Thu, 18 Jan 2018 04:44:53 +0000 (23:44 -0500)
I think they weren't being highlighted at all, leading to a weird looking default white box around them.

runtime/syntax/makefile.yaml

index 72502a87fd968e7f99cfb3bd2497eeff4f95f2de..7e90cdeb76aac90646299dbc6a0cb13f0d8673f6 100644 (file)
@@ -7,8 +7,8 @@ detect:
 rules:
     - preproc: "\\<(ifeq|ifdef|ifneq|ifndef|else|endif)\\>"
     - statement: "^(export|include|override)\\>"
-    - operator: "^[^:= ]+:"
-    - operator: "([=,%]|\\+=|\\?=|:=|&&|\\|\\|)"
+    - symbol.operator: "^[^:=  ]+:"
+    - symbol.operator: "([=,%]|\\+=|\\?=|:=|&&|\\|\\|)"
     - statement: "\\$\\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
     - statement: "\\$\\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
     - statement: "\\$\\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"