Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jpq committed Jan 18, 2025
1 parent 9b318fa commit f518278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/coq.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

2 comments on commit f518278

@blake116th
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol this just broke my coq thanks for fixing

@ms-jpq
Copy link
Owner Author

@ms-jpq ms-jpq commented on f518278 Jan 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some times you forget 0 is truthy 🥲

Please sign in to comment.