diff options
Diffstat (limited to 'queries/latex')
| -rw-r--r-- | queries/latex/highlights.scm | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index b9ded3d6b..791689ff5 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -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 |
