mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
feat(ini): ini section highlight
This commit is contained in:
parent
6f00b0f228
commit
7631e157f3
3 changed files with 32 additions and 1 deletions
|
@ -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
1
queries/ini/context.scm
Normal file
|
@ -0,0 +1 @@
|
|||
(section) @context
|
30
test/test.ini
Normal file
30
test/test.ini
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
|
||||
|
||||
|
||||
[foo]
|
||||
# comment
|
||||
foo1=1
|
||||
foo2=2
|
||||
foo3=2
|
||||
foo4=4
|
||||
|
||||
[bar]
|
||||
bar1=1
|
||||
bar2=2
|
||||
bar3=2
|
||||
bar4=4
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue