vim-grammarous icon indicating copy to clipboard operation
vim-grammarous copied to clipboard

Wrong highlight in Russian language

Open evmorov opened this issue 7 years ago • 1 comments

Wrong highlight in Russian language

Steps:

  1. Write
Как думаешь, нрмально ли это?
  1. 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

evmorov avatar Mar 14 '18 07:03 evmorov

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.

rhysd avatar Apr 06 '18 10:04 rhysd