Add neovim version check

This commit is contained in:
2023-09-02 21:51:28 +02:00
parent f8b940401a
commit 9d1355ca6c
+8
View File
@@ -14,6 +14,14 @@
limitations under the License.
]]
local version = vim.version()
if version.major == 0 then
if version.minor < 10 then
error("Neovim version 0.10 or above is required with this configuration.")
end
end
local utils = require("utils")
-- Install lazy.nvim