mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 22:24:04 +02:00
feat(typoscript): add TypoScript support (#353)
* Added TypoScript * Combined
This commit is contained in:
parent
8aa32aa6b8
commit
e5c90f0f32
3 changed files with 53 additions and 0 deletions
|
@ -70,6 +70,7 @@ Note: if you need support for Neovim 0.6.x please use the tag `compat/0.6`.
|
|||
- [x] `toml`
|
||||
- [x] `tsx`
|
||||
- [x] `typescript`
|
||||
- [x] `typoscript`
|
||||
- [x] `usd`
|
||||
- [x] `verilog`
|
||||
- [x] `vim`
|
||||
|
|
4
queries/typoscript/context.scm
Normal file
4
queries/typoscript/context.scm
Normal file
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
(configuration_block)
|
||||
(condition_block)
|
||||
]@context
|
48
test/test.typoscript
Normal file
48
test/test.typoscript
Normal file
|
@ -0,0 +1,48 @@
|
|||
foo {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
[condition]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[end]
|
||||
|
||||
[condition]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
foo {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
nested {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[global]
|
Loading…
Reference in a new issue