Skip to content

Commit

Permalink
fix neovim version check
Browse files Browse the repository at this point in the history
  • Loading branch information
tjex committed Nov 20, 2024
1 parent 5e92a56 commit 469e756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/zk/root_pattern_util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local M = {}
-- Some path utilities

local function tbl_flatten(...)
if vim.fn.has("nvim-0.10") then
if vim.fn.has("nvim-0.10") == 1 then
return vim.iter({ ... }):flatten():totable()
else
return vim.tbl_flatten({ ... })
Expand Down

0 comments on commit 469e756

Please sign in to comment.