aboutsummaryrefslogtreecommitdiff
path: root/settings/cobol-language-support.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-26 01:42:16 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-26 01:42:16 +0900
commit21865d3984ef1ee3014b1569a077c81d39cf27da (patch)
tree5c16211cd5ec0fa86334852a196b3b6ae78e500a /settings/cobol-language-support.vim
parentf668cd84c7055f7a27836df6f49c652bfc60f8bf (diff)
downloadvim-lsp-settings-21865d3984ef1ee3014b1569a077c81d39cf27da.tar.gz
vim-lsp-settings-21865d3984ef1ee3014b1569a077c81d39cf27da.tar.bz2
vim-lsp-settings-21865d3984ef1ee3014b1569a077c81d39cf27da.zip
Fix root_uri
Diffstat (limited to 'settings/cobol-language-support.vim')
-rw-r--r--settings/cobol-language-support.vim2
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', []),