mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
Set default path_uri if not given or not found with patterns.
This commit is contained in:
@@ -506,7 +506,8 @@ function! s:ensure_init(buf, server_name, cb) abort
|
||||
let l:server_info = l:server['server_info']
|
||||
if has_key(l:server_info, 'root_uri')
|
||||
let l:root_uri = l:server_info['root_uri'](l:server_info)
|
||||
else
|
||||
endif
|
||||
if empty(l:root_uri)
|
||||
let l:root_uri = lsp#utils#get_default_root_uri()
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user