Skip to content

Commit

Permalink
fix: maybe fix #69
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Nov 14, 2023
1 parent 1f5ef4a commit 1c2e986
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,12 @@ return {
-- print("kitty is not available")
return
end
local v = vim.version.parse(out:match("(%d+%.%d+%.%d+)"))
local kitty_version = out:match("(%d+%.%d+%.%d+)")
if kitty_version == nil then
-- print("kitty version is not available")
return
end
local v = vim.version.parse(kitty_version)
local minimal = vim.version.parse("0.30.1")
if v and vim.version.cmp(v, minimal) < 0 then
-- print("kitty version is too old")
Expand Down

0 comments on commit 1c2e986

Please sign in to comment.