aboutsummaryrefslogtreecommitdiff
path: root/settings/elm-language-server.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/elm-language-server.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/elm-language-server.vim')
-rw-r--r--settings/elm-language-server.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/elm-language-server.vim b/settings/elm-language-server.vim
index 6dcedb6..63b25d3 100644
--- a/settings/elm-language-server.vim
+++ b/settings/elm-language-server.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_elm_language_server
LspRegisterServer {
\ 'name': 'elm-language-server',
\ 'cmd': {server_info->lsp_settings#get('elm-language-server', 'cmd', [lsp_settings#exec_path('elm-language-server')])},
- \ 'root_uri':{server_info->lsp_settings#get('elm-language-server', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/', 'elm.json'])))},
+ \ 'root_uri':{server_info->lsp_settings#get('elm-language-server', 'root_uri', lsp_settings#root_uri(['.git/', 'elm.json']))},
\ 'initialization_options': lsp_settings#get('elm-language-server', 'initialization_options', {'elmPath': 'elm', 'runtime': 'node', 'elmFormatPath': 'elm-format', 'elmTestPath': 'elm-test'}),
\ 'whitelist': lsp_settings#get('elm-language-server', 'whitelist', ['elm', 'elm.tsx']),
\ 'blacklist': lsp_settings#get('elm-language-server', 'blacklist', []),