mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
feat: add query for latex (#214)
This commit is contained in:
parent
a7463ae4a5
commit
36ae3bdbed
2 changed files with 8 additions and 1 deletions
|
@ -120,7 +120,7 @@ use 'nvim-treesitter/nvim-treesitter-context'
|
|||
- [ ] `kdl`
|
||||
- [ ] `kotlin`
|
||||
- [ ] `lalrpop`
|
||||
- [ ] `latex`
|
||||
- [x] `latex`
|
||||
- [ ] `ledger`
|
||||
- [ ] `llvm`
|
||||
- [ ] `m68k`
|
||||
|
|
7
queries/latex/context.scm
Normal file
7
queries/latex/context.scm
Normal file
|
@ -0,0 +1,7 @@
|
|||
([
|
||||
(generic_environment)
|
||||
(chapter)
|
||||
(section)
|
||||
(subsection)
|
||||
(subsubsection)
|
||||
] @context)
|
Loading…
Reference in a new issue