fix(cmd): fixed signature of cmd._del. Fixes #229

This commit is contained in:
Folke Lemaitre 2022-12-29 17:32:54 +01:00
parent e2925748df
commit a2eac68575
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 3 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,5 +1,6 @@
tt.lua
tt.*
.tests
doc/tags
debug
.repro
foo.*

View File

@ -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