mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 05:43:52 -05:00
Fix match of fugitive:////unchost/path// on win32
This commit is contained in:
@@ -137,7 +137,7 @@ endfunction
|
|||||||
|
|
||||||
if exists('+shellslash')
|
if exists('+shellslash')
|
||||||
|
|
||||||
let s:dir_commit_file = '\c^fugitive://\%(/[^/]\@=\)\=\(.\{-\}\)//\%(\(\x\{40,\}\|[0-3]\)\(/.*\)\=\)\=$'
|
let s:dir_commit_file = '\c^fugitive://\%(/[^/]\@=\)\=\(.\{-1,\}\)//\%(\(\x\{40,\}\|[0-3]\)/\=\(/.*\)\=\)\=$'
|
||||||
|
|
||||||
function! s:Slash(path) abort
|
function! s:Slash(path) abort
|
||||||
return tr(a:path, '\', '/')
|
return tr(a:path, '\', '/')
|
||||||
|
|||||||
Reference in New Issue
Block a user