vim.version() was introduced in neovim v0.9, and vim.notify_once() was introduced on v0.7, so for users on outdated versions (<v0.7), the version check errors out instead of sending a notification
i believe the most common outdated version is the v0.6 version that ubuntu/debian/etc. has. using vim.fn.has() and vim.notify() (available since v0.5) should be enough?
vim.version()
was introduced in neovim v0.9, andvim.notify_once()
was introduced on v0.7, so for users on outdated versions (<v0.7), the version check errors out instead of sending a notificationi believe the most common outdated version is the v0.6 version that ubuntu/debian/etc. has. using
vim.fn.has()
andvim.notify()
(available since v0.5) should be enough?