fatih / vim-go

Go development plugin for Vim
https://www.patreon.com/bhcleek
Other
15.98k stars 1.45k forks source link

sameids: fix highlighting preceded by multibyte characters #3587

Closed bhcleek closed 1 year ago

bhcleek commented 1 year ago

Fixes #3586

dunric commented 1 year ago

Thanks for the fix! It seems it does the job in my cases I've tried with source codes of various projects.

I did suspected there has to be a missing position (re-)calculation for utf8/utf16 units contents.