mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Fix path for detect local settings properly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user