diff options
Diffstat (limited to 'settings/docker-langserver.vim')
-rw-r--r-- | settings/docker-langserver.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/docker-langserver.vim b/settings/docker-langserver.vim index 936c47a..a47f7c4 100644 --- a/settings/docker-langserver.vim +++ b/settings/docker-langserver.vim @@ -3,6 +3,7 @@ augroup vimlsp_settings_dockerfile_language_server_nodejs autocmd User lsp_setup ++once call lsp#register_server({ \ 'name': 'docker-langserver', \ 'cmd': {server_info->lsp_settings#get('docker-langserver', 'cmd', [lsp_settings#exec_path('docker-langserver'), '--stdio'])}, + \ 'root_uri':{server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/']))}, \ 'whitelist': lsp_settings#get('docker-langserver', 'whitelist', ['dockerfile']), \ 'blacklist': lsp_settings#get('docker-langserver', 'blacklist', []), \ 'config': lsp_settings#get('docker-langserver', 'config', {}), |