mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(latex): improve parameters
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
This commit is contained in:
parent
820b14a34c
commit
3fa183e34e
1 changed files with 7 additions and 6 deletions
|
|
@ -4,8 +4,6 @@
|
|||
(caption
|
||||
command: _ @function)
|
||||
|
||||
(placeholder) @variable
|
||||
|
||||
; Turn spelling on for text
|
||||
(text) @spell
|
||||
|
||||
|
|
@ -15,14 +13,17 @@
|
|||
content: (curly_group
|
||||
(_) @none @spell))
|
||||
|
||||
; Variables, parameters
|
||||
(placeholder) @variable
|
||||
|
||||
(key_value_pair
|
||||
key: (_) @variable.parameter @nospell
|
||||
value: (_))
|
||||
|
||||
[
|
||||
(brack_group)
|
||||
(brack_group_argc)
|
||||
] @variable.parameter
|
||||
(curly_group_spec
|
||||
(text) @variable.parameter)
|
||||
|
||||
(brack_group_argc) @variable.parameter
|
||||
|
||||
[
|
||||
(operator)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue