diff options
author | Shinya Ohyanagi <heavenshell.jp@gmail.com> | 2019-12-18 01:06:31 +0900 |
---|---|---|
committer | Shinya Ohyanagi <heavenshell.jp@gmail.com> | 2019-12-18 01:06:31 +0900 |
commit | 895b49c2b881e4a646b6637da2b8bc5f5da015e3 (patch) | |
tree | 1d055e46011109c6ee2808234ba8be2e3535c05f /settings/rls.vim | |
parent | 0367cc74e2eea50864342982d108777b48a2bf0f (diff) | |
download | vim-lsp-settings-895b49c2b881e4a646b6637da2b8bc5f5da015e3.tar.gz vim-lsp-settings-895b49c2b881e4a646b6637da2b8bc5f5da015e3.tar.bz2 vim-lsp-settings-895b49c2b881e4a646b6637da2b8bc5f5da015e3.zip |
Fix support 3rd party library completion
Diffstat (limited to 'settings/rls.vim')
-rw-r--r-- | settings/rls.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/rls.vim b/settings/rls.vim index 0b0fe59..db94920 100644 --- a/settings/rls.vim +++ b/settings/rls.vim @@ -8,5 +8,6 @@ augroup vimlsp_settings_rls \ 'blacklist': lsp_settings#get('rls', 'blacklist', []), \ 'config': lsp_settings#get('rls', 'config', {}), \ 'workspace_config': lsp_settings#get('rls', 'workspace_config', {}), + \ 'root_uri': {server_info -> lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'Cargo.toml'))}, \ }) augroup END |