diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 19:10:13 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 19:10:13 +0900 |
commit | 5b642293922cb631ae40a187c10d7a301efe4408 (patch) | |
tree | d419c33382bc674d690a7cd886276bb23ba1fb7a /settings | |
parent | f1a1e360abdfabe1eb035733063a5c886aa0a326 (diff) | |
download | vim-lsp-settings-5b642293922cb631ae40a187c10d7a301efe4408.tar.gz vim-lsp-settings-5b642293922cb631ae40a187c10d7a301efe4408.tar.bz2 vim-lsp-settings-5b642293922cb631ae40a187c10d7a301efe4408.zip |
Fix elm config
Diffstat (limited to 'settings')
-rw-r--r-- | settings/elm-language-server.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/elm-language-server.vim b/settings/elm-language-server.vim index 8a65f89..6dcedb6 100644 --- a/settings/elm-language-server.vim +++ b/settings/elm-language-server.vim @@ -3,8 +3,8 @@ 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/'])))}, - \ 'initialization_options': lsp_settings#get('elm-language-server', 'initialization_options', {"diagnostics": "true"}), + \ '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'])))}, + \ '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', []), \ 'config': lsp_settings#get('elm-language-server', 'config', {}), |