From c11986eaa5c74a6df5d13fc12ddd57036242e36d Mon Sep 17 00:00:00 2001
From: Matt Leong <mattleong91@gmail.com>
Date: Tue, 9 Nov 2021 12:13:00 -0800
Subject: [PATCH] fix(core): fix nvim version error not showing

---
 init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.lua b/init.lua
index 22f6eea..ec6f152 100644
--- a/init.lua
+++ b/init.lua
@@ -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