feat(core): add check for nvim 0.6
This commit is contained in:
parent
7b75433505
commit
a795f0914f
1 changed files with 4 additions and 0 deletions
4
init.lua
4
init.lua
|
@ -1,3 +1,7 @@
|
||||||
|
if not vim.fn.has('nvim-0.6') then
|
||||||
|
error('Need NVIM 0.6 in order to run Cosmic!!')
|
||||||
|
end
|
||||||
|
|
||||||
local ok, err = pcall(require, 'cosmic')
|
local ok, err = pcall(require, 'cosmic')
|
||||||
|
|
||||||
if not ok then
|
if not ok then
|
||||||
|
|
Loading…
Add table
Reference in a new issue