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:
david-pikas 2022-12-08 11:01:56 +01:00 committed by GitHub
parent 582e5683fb
commit caa28be705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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