aboutsummaryrefslogtreecommitdiff
path: root/settings/solargraph.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-25 23:40:23 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-25 23:40:23 +0900
commitdd6f34e7089a8a06fbd239b8f3dba46b0074010a (patch)
treeda108eb0fb31e84fd6e93d25b9fca93a1ed196d2 /settings/solargraph.vim
parent0bc757a306ec6a34c495341fe2d63c867aaa9831 (diff)
downloadvim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.tar.gz
vim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.tar.bz2
vim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.zip
Fix settings
Diffstat (limited to 'settings/solargraph.vim')
-rw-r--r--settings/solargraph.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/solargraph.vim b/settings/solargraph.vim
index 796ee0a..8081a2c 100644
--- a/settings/solargraph.vim
+++ b/settings/solargraph.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_solargraph
LspRegisterServer {
\ 'name': 'solargraph',
\ 'cmd': {server_info->lsp_settings#get('solargraph', 'cmd', [lsp_settings#exec_path('solargraph'), 'stdio'])},
- \ 'root_uri':{server_info->lsp_settings#get('solargraph', 'root_uri', 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('solargraph', 'root_uri', lsp_settings#root_uri(['.git/']))},
\ 'initialization_options': lsp_settings#get('solargraph', 'initialization_options', {"diagnostics": "true"}),
\ 'whitelist': lsp_settings#get('solargraph', 'whitelist', ['ruby']),
\ 'blacklist': lsp_settings#get('solargraph', 'blacklist', []),