From 13438b83e470ef1aa38224e90d0a143c1ebab0be Mon Sep 17 00:00:00 2001 From: Hawtian Wang Date: Tue, 2 Apr 2024 10:19:09 +0800 Subject: [PATCH] ... --- lua/dotvim/pkgs/lsp/methods.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/dotvim/pkgs/lsp/methods.lua b/lua/dotvim/pkgs/lsp/methods.lua index ff3c02a5..81dcc8cf 100644 --- a/lua/dotvim/pkgs/lsp/methods.lua +++ b/lua/dotvim/pkgs/lsp/methods.lua @@ -73,7 +73,7 @@ function Methods.show_hover() else vim.o.eventignore = "CursorHold" vim.api.nvim_exec_autocmds("User", { - pattern = "DoraShowHover", + pattern = "DotvimShowHover", }) vim.lsp.buf.hover() vim.api.nvim_create_autocmd({ "CursorMoved" }, { @@ -178,7 +178,7 @@ function Methods.open_diagnostic() close_preview_autocmd({ "CursorMoved", "InsertEnter", - "User DoraShowHover", + "User DotvimShowHover", "BufLeave", "FocusLost", }, win, { bufnr, vim.api.nvim_get_current_buf() })