aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/denols.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/denols.lua')
-rw-r--r--lsp/denols.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/denols.lua b/lsp/denols.lua
index b7a6466a..c6052eff 100644
--- a/lsp/denols.lua
+++ b/lsp/denols.lua
@@ -93,7 +93,7 @@ return {
['textDocument/references'] = denols_handler,
},
on_attach = function(client, bufnr)
- vim.api.nvim_buf_create_user_command(0, 'LspDenolsCache', function()
+ vim.api.nvim_buf_create_user_command(bufnr, 'LspDenolsCache', function()
client:exec_cmd({
command = 'deno.cache',
arguments = { {}, vim.uri_from_bufnr(bufnr) },