vim-grammarous
vim-grammarous copied to clipboard
Wrong highlight in Russian language
Wrong highlight in Russian language
Steps:
- Write
Как думаешь, нрмально ли это?
- Execute
:GrammarousCheck --lang=ru --preview
Actual result:
аешь is highlighted that is wrong. But the correction word in Preview window is "нормально" that is right.
Expected result:
нрмально is highlighted as LanguageTool itself suggests
Thank you for the report. I think offset in output from LanguageTool is a byte offset and we need to consider the conversion between byte size and character size. My mother language is Japanese and it has also the same bug, I think. I'll try to reproduce but it may be hard to support.