fix(core): fix nvim version error not showing

This commit is contained in:
Matt Leong 2021-11-09 12:13:00 -08:00
parent ef19b15e4f
commit c11986eaa5

View file

@ -1,4 +1,4 @@
if not vim.fn.has('nvim-0.6') then
if vim.fn.has('nvim-0.6') == 0 then
error('Need NVIM 0.6 in order to run Cosmic!!')
end