diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2023-01-20 21:09:48 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-01-21 01:05:57 +0100 |
| commit | d88c03abbb803682c81f2a680615e5005e20c60c (patch) | |
| tree | 2beac3332ca5d4d52be74f6f030005f30de8a383 /queries | |
| parent | parsers: add ini (https://github.com/justinmk/tree-sitter-ini) (diff) | |
| download | nvim-treesitter-d88c03abbb803682c81f2a680615e5005e20c60c.tar nvim-treesitter-d88c03abbb803682c81f2a680615e5005e20c60c.tar.gz nvim-treesitter-d88c03abbb803682c81f2a680615e5005e20c60c.tar.bz2 nvim-treesitter-d88c03abbb803682c81f2a680615e5005e20c60c.tar.lz nvim-treesitter-d88c03abbb803682c81f2a680615e5005e20c60c.tar.xz nvim-treesitter-d88c03abbb803682c81f2a680615e5005e20c60c.tar.zst nvim-treesitter-d88c03abbb803682c81f2a680615e5005e20c60c.zip | |
highlights(ini): add highlights.scm
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/ini/highlights.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/queries/ini/highlights.scm b/queries/ini/highlights.scm new file mode 100644 index 000000000..e14d5a334 --- /dev/null +++ b/queries/ini/highlights.scm @@ -0,0 +1,16 @@ +(section_name + (text) @type) ; consistency with toml +(comment) @comment + +[ + "[" + "]" +] @punctuation.bracket + +[ + "=" +] @operator + +(setting (setting_name) @property) +(setting_value) @text ; grammar does not support subtypes +(ERROR (setting_name) @text) |
