fix(indent-blankline): temp fix for tbl_flatten on 0.9.x

This commit is contained in:
Folke Lemaitre 2024-05-18 11:28:03 +02:00
parent 08925421e8
commit 3a193d3aa8
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -237,6 +237,13 @@ return {
}, },
}, },
main = "ibl", main = "ibl",
config = function(_, opts)
if vim.fn.has("nvim-0.10.0") == 0 then
local utils = require("ibl.utils")
utils.tbl_join = vim.tbl_flatten
end
require("ibl").setup(opts)
end,
}, },
-- Displays a popup with possible key bindings of the command you started typing -- Displays a popup with possible key bindings of the command you started typing