Add neovim version check
This commit is contained in:
@@ -14,6 +14,14 @@
|
|||||||
limitations under the License.
|
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")
|
local utils = require("utils")
|
||||||
|
|
||||||
-- Install lazy.nvim
|
-- Install lazy.nvim
|
||||||
|
|||||||
Reference in New Issue
Block a user