Skip to content

Commit a2eac68

Browse files
committed
fix(cmd): fixed signature of cmd._del. Fixes #229
1 parent e292574 commit a2eac68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
tt.lua
1+
tt.*
22
.tests
33
doc/tags
44
debug
55
.repro
6+
foo.*

lua/lazy/core/handler/cmd.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ function M:_add(cmd)
3636
})
3737
end
3838

39-
---@param _plugin LazyPlugin
4039
---@param value string
41-
function M:_del(_plugin, value)
40+
function M:_del(value)
4241
pcall(vim.api.nvim_del_user_command, value)
4342
end
4443

0 commit comments

Comments
 (0)