dvdsk / prosesitter.nvim

A (work in progress) grammar, spelling and style plugin for Neovim
MIT License
25 stars 0 forks source link

Lint highlighting wrong if text interrupted by ignored hl group #8

Closed dvdsk closed 3 years ago

dvdsk commented 3 years ago

will become a more serious problem with the introduction of #5

given the following latex for a misspelling of longest with the letters ng italic

Lo\textit{ng}este

Vale will want to highlight the entire word for a spelling mistake however will only underline Lo\texti as that is the length of the error in the text vale got to process

dvdsk commented 3 years ago

Suggestion: rewrite the hl_iter iterator that iterates over vale highlights so it gives the correct column and row

dvdsk commented 3 years ago

no longer relavant