Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/go-format-string/highlights.scm')
| -rw-r--r-- | runtime/queries/go-format-string/highlights.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/runtime/queries/go-format-string/highlights.scm b/runtime/queries/go-format-string/highlights.scm new file mode 100644 index 00000000..68d64ebd --- /dev/null +++ b/runtime/queries/go-format-string/highlights.scm @@ -0,0 +1,21 @@ +(escaped_percent_sign) @constant.character.escape + +"." @punctuation.delimiter +"%" @punctuation.special + +[ + "[" + "]" +] @punctuation.bracket + +(explicit_argument_index) @constant.numeric + +(flag) @constant.builtin + +(width) @constant.numeric.integer +(precision) @constant.numeric.float +(asterisk) @string.special.symbol + +(verb) @type + +(text) @string |