From d9be302f7499c203ab274bc2b37f11150a2f8834 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Mon, 7 Aug 2023 13:42:24 +0100 Subject: 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. --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f2e96bc1a..2d06c3525 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 -- cgit v1.2.3-70-g09d2