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/git_config | |
| 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/git_config')
| -rw-r--r-- | queries/git_config/folds.scm | 1 | ||||
| -rw-r--r-- | queries/git_config/highlights.scm | 30 |
2 files changed, 15 insertions, 16 deletions
diff --git a/queries/git_config/folds.scm b/queries/git_config/folds.scm index e69de29bb..8b1378917 100644 --- a/queries/git_config/folds.scm +++ b/queries/git_config/folds.scm @@ -0,0 +1 @@ + diff --git a/queries/git_config/highlights.scm b/queries/git_config/highlights.scm index df1dde803..ebae70e51 100644 --- a/queries/git_config/highlights.scm +++ b/queries/git_config/highlights.scm @@ -1,26 +1,23 @@ ; Sections - (section_name) @type ((section_name) @keyword.import - (#eq? @keyword.import "include")) + (#eq? @keyword.import "include")) ((section_header - (section_name) @keyword.import - (subsection_name)) - (#eq? @keyword.import "includeIf")) + (section_name) @keyword.import + (subsection_name)) + (#eq? @keyword.import "includeIf")) -(variable (name) @property) +(variable + (name) @property) ; Operators - -[ - "=" -] @operator +"=" @operator ; Literals - (integer) @number + [ (true) (false) @@ -29,10 +26,10 @@ (string) @string ((string) @string.special.path - (#lua-match? @string.special.path "^[.]?[/]")) + (#lua-match? @string.special.path "^[.]?[/]")) ((string) @string.special.path - (#lua-match? @string.special.path "^[~]")) + (#lua-match? @string.special.path "^[~]")) (section_header [ @@ -41,9 +38,10 @@ ] @string.special) ; Punctuation - -[ "[" "]" ] @punctuation.bracket +[ + "[" + "]" +] @punctuation.bracket ; Comments - (comment) @comment @spell |
