Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong highlight in Russian language #61

Open
evmorov opened this issue Mar 14, 2018 · 1 comment · May be fixed by #95
Open

Wrong highlight in Russian language #61

evmorov opened this issue Mar 14, 2018 · 1 comment · May be fixed by #95
Labels

Comments

@evmorov
Copy link

evmorov commented Mar 14, 2018

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

@rhysd
Copy link
Owner

rhysd commented Apr 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants