mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
* fix comment
* fix indent
* support diagnostics in a floating window
* doc: add g:lsp_diagnostics_float_{cursor,delay}
* fix vint errors except unused variables
* suppress vint unused variable errors
* lint: use robust operator
15 lines
399 B
VimL
15 lines
399 B
VimL
function! lsp#utils#workspace_config#get_value(server_name, item) abort
|
|
try
|
|
let l:server_info = lsp#get_server_info(a:server_name)
|
|
let l:config = l:server_info['workspace_config']
|
|
|
|
for l:section in split(a:item['section'], '\.')
|
|
let l:config = l:config[l:section]
|
|
endfor
|
|
|
|
return l:config
|
|
catch
|
|
return v:null
|
|
endtry
|
|
endfunction
|