runtime/syntax/git-config.yaml
raw| 1 | filetype: git-config |
| 2 | |
| 3 | detect: |
| 4 | filename: "git(config|modules)$|\\.git/config$" |
| 5 | |
| 6 | rules: |
| 7 | - constant: "\\<(true|false)\\>" |
| 8 | - type.keyword: "^[[:space:]]*[^=]*=" |
| 9 | - constant: "^[[:space:]]*\\[.*\\]$" |
| 10 | - constant: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'" |
| 11 | - comment: |
| 12 | start: "#" |
| 13 | end: "$" |
| 14 | rules: [] |