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

Error highlighting with vim-LanguageTool may fail #17

Open
matze-dd opened this issue May 7, 2020 · 0 comments
Open

Error highlighting with vim-LanguageTool may fail #17

matze-dd opened this issue May 7, 2020 · 0 comments
Labels
wontfix This will not be worked on

Comments

@matze-dd
Copy link
Collaborator

matze-dd commented May 7, 2020

For highlighting of errors in the source text buffer, vim-LanguageTool does not directly use the error location returned by the proofreader. Instead, it tries to identify the reported problematic text part at the line given by the proofreader (application of Vim's matchadd()). This fails for

\newcommand\books{books}
A \books{} are interesting.

The mistake 'A books' is correctly reported for line 2, but it cannot be highlighted in the source text buffer.

@matze-dd matze-dd added the wontfix This will not be worked on label May 7, 2020
@matze-dd matze-dd changed the title Error highlighting with vim-LanguageTool may fail Highlighting with vim-LanguageTool may fail May 7, 2020
@matze-dd matze-dd changed the title Highlighting with vim-LanguageTool may fail Error highlighting with vim-LanguageTool may fail May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant