Issue Description
I'm bilingual and have some repositories with both English and Ukrainian words in them.
Separately (i.e., dictionaries = ["en_us"] or dictionaries = ["uk"]) spelling works as expected, but when both dictionaries are added to configuration only Ukrainian spelling is checked.
Operating System
Linux (Ubuntu/Debian)
Editor
Neovim
Codebook Version
0.3.41
Configuration
dictionaries = [
"en_us",
"uk",
]
# the same behavior for:
# dictionaries = [
# "uk",
# "en_us",
# ]
Steps to Reproduce
- Create
en_us.md with helo wordl
- Create
uk.md with привт свт
- Run
codebook-lsp lint en_us.md
- Run
codebook-lsp lint uk.md
Expected Behavior
Both files produce 2 linting errors.
Actual Behavior
Only uk.md produces 2 linting errors. en_us.md produces:
using global config /home/user/.config/codebook/codebook.toml
Out of 1 total file(s), checked 1, ignored 0, and excluded 0.
Found 0 spelling error(s) in 0 file(s).
Code Sample
Log Output
Additional Context
No response
Issue Description
I'm bilingual and have some repositories with both English and Ukrainian words in them.
Separately (i.e.,
dictionaries = ["en_us"]ordictionaries = ["uk"]) spelling works as expected, but when both dictionaries are added to configuration only Ukrainian spelling is checked.Operating System
Linux (Ubuntu/Debian)
Editor
Neovim
Codebook Version
0.3.41
Configuration
Steps to Reproduce
en_us.mdwithhelo wordluk.mdwithпривт свтcodebook-lsp lint en_us.mdcodebook-lsp lint uk.mdExpected Behavior
Both files produce 2 linting errors.
Actual Behavior
Only
uk.mdproduces 2 linting errors.en_us.mdproduces:Code Sample
Log Output
Additional Context
No response