You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cspell-tools -- used for building dictionary files
cspell-lib -- library that does the actual spell checking.
cspell-trie -- tool for working with trie files.
Which Version
Version: 5.6.6
Issue with supporting library?
No
cspell-glob -- library for matching glob patterns
cspell-io -- thin file i/o library
cspell-trie-lib - trie lib
cspell-trie2-lib - trie lib alternate format
OS:
Macos
Linux
Windows
Other
version:
Ubuntu 20.04.3 LTS
Windows 10
Bug Description
Describe the bug
I've used example config: https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell#example-cspelljson-file
And it doesn't flag "hte" word, or any other 3 letter words that I explicitly want to flag, because only 4+ letter words are being checked, according to the default minWordLength flag.
From the example, I and my colleague assumed that it'll let us flag words of any length. It literally says "flagWords - list of words to be always considered incorrect".
$cspell trace hte
hte - [words] From Settings `words` and `userWords`
hte - [ignoreWords] From Settings `ignoreWords`
hte * [flagWords] From Settings `flagWords`
I expect that flagWords will always be flagged as incorrect, no matter the minWordLength. So in the example above, "hte" should be flagged as incorrect.
Info
Kind of Issue
Which Tool or library
Which Version
Version: 5.6.6
Issue with supporting library?
OS:
version:
Ubuntu 20.04.3 LTS
Windows 10
Bug Description
Describe the bug
I've used example config: https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell#example-cspelljson-file
And it doesn't flag "hte" word, or any other 3 letter words that I explicitly want to flag, because only 4+ letter words are being checked, according to the default
minWordLength
flag.From the example, I and my colleague assumed that it'll let us flag words of any length. It literally says "flagWords - list of words to be always considered incorrect".
To Reproduce
Steps to reproduce the behavior:
file.txt
with word "hte" in itcspell file.txt
Expected behavior
I expect that
flagWords
will always be flagged as incorrect, no matter theminWordLength
. So in the example above, "hte" should be flagged as incorrect.Screenshots
cspell.json
The text was updated successfully, but these errors were encountered: