mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-09 06:45:53 +08:00
Pass rootUri to LSPs in addition to rootPath
This commit is contained in:
1 parent
1a4b08539b
commit
641c0c797b
2 files changed
+3
No files matched your search
@@ -26,11 +26,13 @@ endfunction
|
||||
|
||||
function! ale#lsp#message#Initialize(root_path, initialization_options) abort
|
||||
" TODO: Define needed capabilities.
|
||||
" NOTE: rootPath is deprecated in favour of rootUri
|
||||
return [0, 'initialize', {
|
||||
\ 'processId': getpid(),
|
||||
\ 'rootPath': a:root_path,
|
||||
\ 'capabilities': {},
|
||||
\ 'initializationOptions': a:initialization_options,
|
||||
\ 'rootUri': ale#path#ToURI(a:root_path),
|
||||
\}]
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user