runtime/syntax/inputrc.yaml
raw| 1 | filetype: inputrc |
| 2 | |
| 3 | detect: |
| 4 | filename: "inputrc$" |
| 5 | |
| 6 | rules: |
| 7 | - constant.bool.false: "\\b(off|none)\\b" |
| 8 | - constant.bool.true: "\\bon\\b" |
| 9 | - preproc: "\\bset|\\$include\\b" |
| 10 | - constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'" |
| 11 | - constant.specialChar: "\\\\.?" |
| 12 | - comment: "(^|[[:space:]])#([^{].*)?$" |
| 13 | - indent-char.whitespace: "[[:space:]]+$" |
| 14 | - indent-char: " + +| + +" |