vim-nerdtree-syntax-highlight icon indicating copy to clipboard operation
vim-nerdtree-syntax-highlight copied to clipboard

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

Open shadowwa opened this issue 2 years ago • 0 comments

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

shadowwa avatar Jul 21 '23 09:07 shadowwa