micro/runtime/syntax/git-config.yaml
Zachary Yedidia 33cb39d318 Use type.keyword instead of keyword
Some syntax files used keyword from an old version when they should have
been using type.keyword.

Fixes #811
2017-09-13 18:00:47 -04:00

15 lines
332 B
YAML

filetype: git-config
detect:
filename: "git(config|modules)$|\\.git/config$"
rules:
- constant: "\\<(true|false)\\>"
- type.keyword: "^[[:space:]]*[^=]*="
- constant: "^[[:space:]]*\\[.*\\]$"
- constant: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
- comment:
start: "#"
end: "$"
rules: []