feat(ini): ini section highlight

This commit is contained in:
Nils 2023-04-28 14:35:03 +02:00 committed by Lewis Russell
parent 6f00b0f228
commit 7631e157f3
3 changed files with 32 additions and 1 deletions

View file

@ -114,7 +114,7 @@ use 'nvim-treesitter/nvim-treesitter-context'
- [ ] `html_tags`
- [ ] `htmldjango`
- [ ] `http`
- [ ] `ini`
- [x] `ini`
- [ ] `jq`
- [ ] `jsdoc`
- [ ] `json5`

1
queries/ini/context.scm Normal file
View file

@ -0,0 +1 @@
(section) @context

30
test/test.ini Normal file
View file

@ -0,0 +1,30 @@
[foo]
# comment
foo1=1
foo2=2
foo3=2
foo4=4
[bar]
bar1=1
bar2=2
bar3=2
bar4=4