Simple indentation guides, heavily inspired by mini.indentscope and snacks.indent
- Neovim >= 0.10.0
{
"pedrog14/simpleindent.nvim",
event = { "BufReadPost", "BufNewFile", "BufWritePre" },
opts = {},
}Plug 'pedrog14/simpleindent.nvim'Built-in plugin manager (vim.pack):
vim.pack.add({ { src = "https://github.com/pedrog14/simpleindent.nvim" } })Default settings:
{
filter = {
filetype = {
"lspinfo",
"packer",
"checkhealth",
"help",
"man",
"gitcommit",
"dashboard",
"text",
"",
},
buftype = { "terminal", "quickfix", "nofile", "prompt" },
},
symbol = "▏",
}You can enable your plugin and/or modify your settings by calling require("simpleindent").setup with the proper argument table (only needed if you want to modify default settings), as presented above.