Indentation guides using the builtin shiftwidth and listchars variables.
You have to use setup()
use {
'lucastavaresa/simpleIndentGuides.nvim',
config = function()
vim.opt.list = true -- enable in all buffers
require("simpleIndentGuides").setup()
end
}To disable the guide in specific buffers
vim.api.nvim_create_autocmd("FileType", {
pattern = { "markdown", "org", "txt", "norg" },
command = "setlocal nolist",
})Setup can receive one or two characters, the first one is the guide, the second string is the padding between the guides
The default guide is │
Example:
require("simpleIndentGuides").setup("┊")Another example:
require("simpleIndentGuides").setup("┊", "·")