mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
fix(spell): do not spell check certain types of strings (#5203)
- Document that only certain kinds of strings are spell checked, and reasons why they may not. - Remove spell checking for bash strings.
This commit is contained in:
parent
2051c8603d
commit
d9be302f74
2 changed files with 8 additions and 1 deletions
|
|
@ -239,6 +239,10 @@ Used for XML-like tags.
|
|||
@nospell ; for defining regions that should NOT be spellchecked
|
||||
```
|
||||
|
||||
The main types of nodes which are spell checked are:
|
||||
- Comments
|
||||
- Strings; where it makes sense. Strings that have interpolation or are typically used for non text purposes are not spell checked (e.g. bash).
|
||||
|
||||
#### Priority
|
||||
|
||||
Captures can be assigned a priority to control precedence of highlights via the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue