vim-nerdtree-syntax-highlight
vim-nerdtree-syntax-highlight copied to clipboard
filename with some punctuation or non ascii characters are not completely highlighted
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.
I tried to modify the regex with
let s:characters = '[[:punct:][:fname:][:blank:]]'
and it seems to solve the issue with vim and nvim
but I'm not sure the change doesn't have any negative side effect on other configuration/version of vim