diff --git a/lua/bootstrap.lua b/lua/bootstrap.lua index 1c22750..bdd4a9e 100644 --- a/lua/bootstrap.lua +++ b/lua/bootstrap.lua @@ -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