diff options
| author | Dimitris Dimitropoulos <dimitris.dimitropoulos00@gmail.com> | 2025-08-11 21:32:16 +0300 |
|---|---|---|
| committer | Dimitris Dimitropoulos <dimitris.dimitropoulos00@gmail.com> | 2025-08-11 21:45:11 +0300 |
| commit | 58abd52c23342aa89a3beb21406a2dcee6e4eeef (patch) | |
| tree | 32697a79dab692fcdcb86750557bbb1eebf6a218 | |
| parent | fix(clangd): update config to 0.11+ (diff) | |
| download | nvim-lspconfig-58abd52c23342aa89a3beb21406a2dcee6e4eeef.tar nvim-lspconfig-58abd52c23342aa89a3beb21406a2dcee6e4eeef.tar.gz nvim-lspconfig-58abd52c23342aa89a3beb21406a2dcee6e4eeef.tar.bz2 nvim-lspconfig-58abd52c23342aa89a3beb21406a2dcee6e4eeef.tar.lz nvim-lspconfig-58abd52c23342aa89a3beb21406a2dcee6e4eeef.tar.xz nvim-lspconfig-58abd52c23342aa89a3beb21406a2dcee6e4eeef.tar.zst nvim-lspconfig-58abd52c23342aa89a3beb21406a2dcee6e4eeef.zip | |
fix(denols): update config to 0.11+
- Call request_sync as method
- Use vim.notify instead of nvim_err_writeln
| -rw-r--r-- | lsp/denols.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp/denols.lua b/lsp/denols.lua index c6052eff..2da17313 100644 --- a/lsp/denols.lua +++ b/lsp/denols.lua @@ -41,7 +41,7 @@ local function virtual_text_document(uri, client) uri = uri, }, } - local result = client.request_sync('deno/virtualTextDocument', params) + local result = client:request_sync('deno/virtualTextDocument', params) virtual_text_document_handler(uri, result, client) end @@ -100,7 +100,7 @@ return { }, { bufnr = bufnr }, function(err, _result, ctx) if err then local uri = ctx.params.arguments[2] - vim.api.nvim_err_writeln('cache command failed for ' .. vim.uri_to_fname(uri)) + vim.notify('cache command failed for' .. vim.uri_to_fname(uri), vim.log.levels.ERROR) end end) end, { |
