Fix path for detect local settings properly

This commit is contained in:
Shinya Ohyanagi
2022-05-10 23:35:09 +09:00
committed by mattn
parent 673901e690
commit 9f4c02f6fe

View File

@@ -22,7 +22,7 @@ endfunction
function! lsp_settings#profile#load_local() abort
try
let l:dir = expand('%:h')
let l:dir = expand('%:p:h')
let l:root = finddir('.vim-lsp-settings', l:dir . ';')
if empty(l:root)
return