diff --git a/.gitignore b/.gitignore index 58426cf..e62ab00 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ -tt.lua +tt.* .tests doc/tags debug .repro +foo.* diff --git a/lua/lazy/core/handler/cmd.lua b/lua/lazy/core/handler/cmd.lua index d10bd4b..a4913e0 100644 --- a/lua/lazy/core/handler/cmd.lua +++ b/lua/lazy/core/handler/cmd.lua @@ -36,9 +36,8 @@ function M:_add(cmd) }) end ----@param _plugin LazyPlugin ---@param value string -function M:_del(_plugin, value) +function M:_del(value) pcall(vim.api.nvim_del_user_command, value) end