Replies: 2 comments 4 replies
-
Edit: My answer here is not correct at all, please ignore I think you have to provide the "name" option, as the lua module that plugin provides is not the same as the plugin itself. this is what i have in my config {
"lukas-reineke/indent-blankline.nvim",
event = { "BufReadPost", "BufNewFile" },
name = "indent_blankline",
init = function()
vim.opt.list = true
vim.opt.listchars:append("eol:↴")
end,
opts = {
space_char_blankline = " ",
char = "│",
filetype_exclude = {
"terminal",
"json",
"lspinfo",
"packer",
"checkhealth",
"help",
"lazy",
"",
},
},
}, |
Beta Was this translation helpful? Give feedback.
2 replies
-
You need to wrap that keys rhs in a function, since this will now try loading the plugin instead |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to lazy-load
indent-blankline.nvim
on keys but keep getting an error when doing so.This is my current config:
, and this is the error I am getting when press
<leader>ti
the first time:Any ideas on how to work around it?
Beta Was this translation helpful? Give feedback.
All reactions