diff --git a/lua/coq.lua b/lua/coq.lua index 1d818489..40119a9b 100644 --- a/lua/coq.lua +++ b/lua/coq.lua @@ -2,7 +2,7 @@ COQ = COQ or {} coq = coq or {} coq.validate = (function() - if not vim.fn.has("nvim-0.11") then + if vim.fn.has("nvim-0.11") == 0 then return vim.validate else return function(spec)