lukas-reineke / indent-blankline.nvim

Indent guides for Neovim
MIT License
4.26k stars 104 forks source link

After upgrade to 3.8.3 config validate fail #935

Closed linnovs closed 3 weeks ago

linnovs commented 3 weeks ago

Problem

After upgraded to 3.8.3, this happens image

Steps to reproduce

local lazypath = "/tmp/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({
        "git",
        "clone",
        "--filter=blob:none",
        "https://github.com/folke/lazy.nvim.git",
        "--branch=stable",
        lazypath,
    })
end
vim.opt.rtp:prepend(lazypath)
vim.opt.termguicolors = true
vim.opt.list = true

require("lazy").setup({
    {
        "lukas-reineke/indent-blankline.nvim",
        main = "ibl",
        config = function()
            require("ibl").setup({
                indent = {
                    char = "┊",
                    tab_char = "┊",
                },
                scope = { enabled = false },
                exclude = {
                    filetypes = {
                        "FTerm",
                        "Trouble",
                        "alpha",
                        "help",
                        "lazy",
                        "mason",
                        "neo-tree",
                        "dashboard",
                    },
                },
            })
        end,
    },
}, { root = "/tmp/lazy" })

After install, restart nvim, the error will occur.

Expected behavior

The configuration should successfully pass the validation process.

Neovim version (nvim -v)

NVIM v0.11.0-dev-226+g721551210

lukas-reineke commented 3 weeks ago

Please update your Neovim version, you are on a 5 months old nightly build that is no longer supported.