feat(core): add check for nvim 0.6

This commit is contained in:
Matt Leong 2021-11-05 08:52:38 -07:00
parent 7b75433505
commit a795f0914f

View file

@ -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')
if not ok then