mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
latex: @nospell for environment names, citations and commands (#3948)
* Added @nospell for environment names and commands * Added citations to @nospell Co-authored-by: David Pikas <David.Pikas@iar.com>
This commit is contained in:
parent
582e5683fb
commit
caa28be705
1 changed files with 10 additions and 7 deletions
|
|
@ -237,10 +237,13 @@
|
|||
command: _ @include
|
||||
paths: (curly_group_path_list) @string)
|
||||
|
||||
(
|
||||
(text) @spell
|
||||
(#not-has-parent? @spell
|
||||
inline_formula
|
||||
displayed_equation
|
||||
)
|
||||
)
|
||||
(text) @spell
|
||||
(inline_formula) @nospell
|
||||
(displayed_equation) @nospell
|
||||
(key_value_pair) @nospell
|
||||
(generic_environment
|
||||
begin: _ @nospell
|
||||
end: _ @nospell)
|
||||
(citation
|
||||
keys: _ @nospell)
|
||||
(command_name) @nospell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue