diff options
| author | sigmaSd <bedisnbiba@gmail.com> | 2023-09-15 11:12:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-15 03:12:44 -0700 |
| commit | 47375192f4a3c08339ee865bd9e53b02bb1adb52 (patch) | |
| tree | 9d4177447e334b29306dbf94cbaeb48873ae6443 /lua | |
| parent | fix(gopls): prioritise go.work at root_dir (diff) | |
| download | nvim-lspconfig-47375192f4a3c08339ee865bd9e53b02bb1adb52.tar nvim-lspconfig-47375192f4a3c08339ee865bd9e53b02bb1adb52.tar.gz nvim-lspconfig-47375192f4a3c08339ee865bd9e53b02bb1adb52.tar.bz2 nvim-lspconfig-47375192f4a3c08339ee865bd9e53b02bb1adb52.tar.lz nvim-lspconfig-47375192f4a3c08339ee865bd9e53b02bb1adb52.tar.xz nvim-lspconfig-47375192f4a3c08339ee865bd9e53b02bb1adb52.tar.zst nvim-lspconfig-47375192f4a3c08339ee865bd9e53b02bb1adb52.zip | |
feat(denols): enable import completion from registries #2793
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/denols.lua | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lua/lspconfig/server_configurations/denols.lua b/lua/lspconfig/server_configurations/denols.lua index bb5a43f7..f35e8330 100644 --- a/lua/lspconfig/server_configurations/denols.lua +++ b/lua/lspconfig/server_configurations/denols.lua @@ -74,9 +74,19 @@ return { 'typescript.tsx', }, root_dir = util.root_pattern('deno.json', 'deno.jsonc', '.git'), - init_options = { - enable = true, - unstable = false, + settings = { + deno = { + enable = true, + suggest = { + imports = { + hosts = { + ['https://deno.land'] = true, + ['https://crux.land'] = true, + ['https://x.nest.land'] = true, + }, + }, + }, + }, }, handlers = { ['textDocument/definition'] = denols_handler, |
