From fac0429cd8d989c4308949b03e2bfc885669c171 Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 12 Dec 2018 08:35:56 +0900 Subject: [PATCH] Handle lower-case drive-letter (#208) --- autoload/lsp/utils.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/lsp/utils.vim b/autoload/lsp/utils.vim index 3ebf9189..45bc36ee 100644 --- a/autoload/lsp/utils.vim +++ b/autoload/lsp/utils.vim @@ -45,7 +45,7 @@ if has('win32') || has('win64') else " You must not encode the volume information on the path if " present - let l:end_pos_volume = matchstrpos(a:path, '\C[A-Z]:')[2] + let l:end_pos_volume = matchstrpos(a:path, '\c[A-Z]:')[2] if l:end_pos_volume == -1 let l:end_pos_volume = 0