diff options
| author | Pham Huy Hoang <hoangtun0810@gmail.com> | 2024-01-06 15:05:50 +0900 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-19 16:58:37 +0100 |
| commit | 57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9 (patch) | |
| tree | 70bf645539882b88e6fa129cefd30986b89bbac3 /queries/gpg | |
| parent | ci: add query lint job (diff) | |
| download | nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.gz nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.bz2 nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.lz nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.xz nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.tar.zst nvim-treesitter-57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9.zip | |
chore: query formatting
Diffstat (limited to 'queries/gpg')
| -rw-r--r-- | queries/gpg/highlights.scm | 31 | ||||
| -rw-r--r-- | queries/gpg/injections.scm | 2 |
2 files changed, 20 insertions, 13 deletions
diff --git a/queries/gpg/highlights.scm b/queries/gpg/highlights.scm index 1dac05562..09656b302 100644 --- a/queries/gpg/highlights.scm +++ b/queries/gpg/highlights.scm @@ -1,14 +1,17 @@ -(option . _ @keyword) +(option + . + _ @keyword) (option ("no-" @variable.parameter)? (name) @variable.parameter) -(string (content) @string) +(string + (content) @string) [ - (value) - "clear" + (value) + "clear" ] @string.special (url) @string.special.url @@ -16,9 +19,9 @@ (key) @constant [ - (number) - (expire_time) - (iso_time) + (number) + (expire_time) + (iso_time) ] @number (format) @character.special @@ -34,14 +37,18 @@ (filter_value) @string [ - (filter_op0) - (filter_op1) - (filter_lc) - "=" + (filter_op0) + (filter_op1) + (filter_lc) + "=" ] @operator "!" @punctuation.special -[ "\"" "'" "," ] @punctuation.delimiter +[ + "\"" + "'" + "," +] @punctuation.delimiter (comment) @comment @spell diff --git a/queries/gpg/injections.scm b/queries/gpg/injections.scm index 321c90add..2f0e58eb6 100644 --- a/queries/gpg/injections.scm +++ b/queries/gpg/injections.scm @@ -1,2 +1,2 @@ ((comment) @injection.content - (#set! injection.language "comment")) + (#set! injection.language "comment")) |
