diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 01:42:16 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-26 01:42:16 +0900 |
commit | 21865d3984ef1ee3014b1569a077c81d39cf27da (patch) | |
tree | 5c16211cd5ec0fa86334852a196b3b6ae78e500a /settings | |
parent | f668cd84c7055f7a27836df6f49c652bfc60f8bf (diff) | |
download | vim-lsp-settings-21865d3984ef1ee3014b1569a077c81d39cf27da.tar.gz vim-lsp-settings-21865d3984ef1ee3014b1569a077c81d39cf27da.tar.bz2 vim-lsp-settings-21865d3984ef1ee3014b1569a077c81d39cf27da.zip |
Fix root_uri
Diffstat (limited to 'settings')
-rw-r--r-- | settings/cobol-language-support.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/cobol-language-support.vim b/settings/cobol-language-support.vim index b0f5dc9..57df026 100644 --- a/settings/cobol-language-support.vim +++ b/settings/cobol-language-support.vim @@ -3,7 +3,7 @@ augroup vimlsp_settings_cobol_language_support LspRegisterServer { \ 'name': 'cobol-language-support', \ 'cmd': {server_info->lsp_settings#get('cobol-language-support', 'cmd', [lsp_settings#exec_path('cobol-language-support')])}, - \ 'root_uri':{server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/']))}, + \ 'root_uri':{server_info->lsp_settings#get('cobol-language-server', 'root_uri', lsp_settings#root_uri(['.git/']))}, \ 'initialization_options': lsp_settings#get('cobol-language-support', 'initialization_options', {}), \ 'whitelist': lsp_settings#get('cobol-language-support', 'whitelist', ['cobol']), \ 'blacklist': lsp_settings#get('cobol-language-support', 'blacklist', []), |