Fixed issue where adjustments to language-specific settings in cspell.json weren't being applied.
How
When using stdin, it appears that cspell is unable to detect the file type correctly. Therefore, I have modified it to explicitly specify the file type.
$ cat main.rb
1.upto(10) do |i|
puts i
end
$ cat cspell.json
{
"languageSettings": [
{
"languageId": "ruby",
"dictionaries": ["ruby"]
}
]
}
What
Fixed issue where adjustments to language-specific settings in cspell.json weren't being applied.
How
When using stdin, it appears that cspell is unable to detect the file type correctly. Therefore, I have modified it to explicitly specify the file type.