zk-org / zk-nvim

Neovim extension for zk
https://github.com/zk-org/zk
GNU General Public License v3.0
502 stars 40 forks source link

Typo: nvim_add_user_command #114

Closed ateoi closed 1 year ago

ateoi commented 1 year ago

The correct name is nvim_create_user_command https://neovim.io/doc/user/api.html#api-command

https://github.com/mickael-menu/zk-nvim/blob/50fc25b88fb28829ec7f5e5a4d4b458fca21a550/lua/zk/commands/init.lua#L10

mickael-menu commented 1 year ago

It looks like the name changed in a more recent version of Nvim. Do you want to open a PR to fix the issue?