folke / lazy.nvim

💤 A modern plugin manager for Neovim
https://lazy.folke.io/
Apache License 2.0
14.6k stars 353 forks source link

error on startup #448

Closed bryant-the-coder closed 1 year ago

bryant-the-coder commented 1 year ago

image Hi folke, I'm getting this error when i start neovim. I don't know how to reproduce it thus this blank issue.

image I also get this when i run sync and update

local blankline = {
    "lukas-reineke/indent-blankline.nvim",
}

blankline.config = function()
    vim.g.indentLine_enabled = 1
    require("indent_blankline").setup({
        buftype_exclude = { "terminal", "nofile" },
        filetype_exclude = {
            "help",
            "startify",
            "dashboard",
            "packer",
            "neogitstatus",
            "norg",
            "NvimTree",
            "Trouble",
        },
        char = "▏",
        show_trailing_blankline_indent = false,
        show_first_indent_level = false,
        use_treesitter = true,
        show_current_context = true,
        context_patterns = {
            "class",
            "return",
            "function",
            "method",
            "^if",
            "^do",
            "^switch",
            "^while",
            "jsx_element",
            "^for",
            "^object",
            "^table",
            "block",
            "arguments",
            "if_statement",
            "else_clause",
            "jsx_element",
            "jsx_self_closing_element",
            "try_statement",
            "catch_clause",
            "import_statement",
            "operation_type",
        },
    })
    -- HACK: work-around for https://github.com/lukas-reineke/indent-blankline.nvim/issues/59
    vim.wo.colorcolumn = "99999"
end

return blankline

this is my indent-blankline config. i never lazyload it but it doesnt load on startup

folke commented 1 year ago

What was causing this?