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

filename with some punctuation or non ascii characters are not completely highlighted #59

Open
shadowwa opened this issue Jul 21, 2023 · 0 comments

Comments

@shadowwa
Copy link

vim version: 9.0.1572
neovim version: 0.9.1

filename containing some punctuation characters ( [, ], ', ", ; and maybe others) or non ascii characters (like à é è) are not completely highlighted. Only the part after the last 'special' character is.
files-not-completely-highlighted

I tried to modify the regex with

let s:characters = '[[:punct:][:fname:][:blank:]]'

and it seems to solve the issue with vim and nvim

files-completely-highlighted

but I'm not sure the change doesn't have any negative side effect on other configuration/version of vim

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

No branches or pull requests

1 participant