bug: text with diacritic marks does not highlight properly #1900
Labels
bug
Something isn't working
category: localisation
Issues regarding language and keyboard compatibility
category: visual
related to highlights, selections, etc
Check the following:
Neovim version (nvim -v)
v0.9.5
Operating system/version
Fedora 39
Describe the bug
Text with diacritic marks do not highlight their full character width. This mostly affects the subset of unicode where we combine base letters with diacritic marks (i.e. what Zalgo text uses; https://en.wikipedia.org/wiki/Combining_Diacritical_Marks), rather than the standalone characters like à.
I'll admit that this is likely not that prevalent in code, but I found it by accident and figured it was better in a bug tracker than in my head. I suspect this is somewhat related to #1367
Steps To Reproduce
Expected Behavior
The entire character should be highlighted. Plain neovim handles this case correctly
The text was updated successfully, but these errors were encountered: