diff --git a/autoload/sy.vim b/autoload/sy.vim index 5ef9804..d6e166f 100644 --- a/autoload/sy.vim +++ b/autoload/sy.vim @@ -13,6 +13,9 @@ function! sy#start() abort endif let sy_path = resolve(expand('%:p')) + if has('win32') + let sy_path = substitute(sy_path, '\v^(\w):\\\\', '\1:\\', '') + endif if s:skip(sy_path) call sy#verbose('Skip file: '. sy_path)