Use Go regex word boundaries

This commit is contained in:
Zachary Yedidia
2017-03-01 17:08:56 -05:00
parent 995a910f6a
commit 3c192c2fb5
27 changed files with 101 additions and 96 deletions

View File

@@ -1,8 +1,8 @@
syntax "keymap" "\.(k|key)?map$|Xmodmap$"
color statement "\<(add|clear|compose|keycode|keymaps|keysym|remove|string)\>"
color statement "\<(control|alt|shift)\>"
color constant.number "\<[0-9]+\>"
color statement "\b(add|clear|compose|keycode|keymaps|keysym|remove|string)\b"
color statement "\b(control|alt|shift)\b"
color constant.number "\b[0-9]+\b"
color symbol "="
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color comment "^!.*$"