Skip to content

Commit

Permalink
fix(init): version check
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Feb 16, 2023
1 parent 9e3585a commit 73eea32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/trouble/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ local function is_open()
end

function Trouble.setup(options)
if vim.fn.has("nvim-0.7.2") == 1 then
if vim.fn.has("nvim-0.7.2") == 0 then
util.error("Trouble needs Neovim >= 0.7.2")
return
end
Expand Down

0 comments on commit 73eea32

Please sign in to comment.