Match printable character in git status
With `LANG=fr_FR.UTF-8`, a non-breakable space character is added to the text of git status, this commit allows matching it. Closes #815
This commit is contained in:
parent
50cc268d29
commit
c00ebd75ac
@ -2840,7 +2840,7 @@ function! s:cfile() abort
|
||||
elseif getline('.') =~# '^#\trenamed:.* -> '
|
||||
let file = '/'.matchstr(getline('.'),' -> \zs.*')
|
||||
return [file]
|
||||
elseif getline('.') =~# '^#\t\(\k\| \)\+: *.'
|
||||
elseif getline('.') =~# '^#\t\(\k\| \)\+\p\?: *.'
|
||||
let file = '/'.matchstr(getline('.'),': *\zs.\{-\}\ze\%( ([^()[:digit:]]\+)\)\=$')
|
||||
return [file]
|
||||
elseif getline('.') =~# '^#\t.'
|
||||
|
Loading…
x
Reference in New Issue
Block a user