Skip to content

Commit fac0429

Browse files
mattnprabirshrestha
authored andcommitted
Handle lower-case drive-letter (#208)
1 parent 778630e commit fac0429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/utils.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if has('win32') || has('win64')
4545
else
4646
" You must not encode the volume information on the path if
4747
" present
48-
let l:end_pos_volume = matchstrpos(a:path, '\C[A-Z]:')[2]
48+
let l:end_pos_volume = matchstrpos(a:path, '\c[A-Z]:')[2]
4949

5050
if l:end_pos_volume == -1
5151
let l:end_pos_volume = 0

0 commit comments

Comments
 (0)