feat(plugins): add indent-blankline

This commit is contained in:
Nicolas Goudry 2024-06-06 13:37:53 +02:00
parent d20dc7dc2f
commit 455cb6f839
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44

View file

@ -0,0 +1,41 @@
# homepage: https://github.com/lukas-reineke/indent-blankline.nvim
# nixvim doc: https://nix-community.github.io/nixvim/plugins/indent-blankline/index.html
_:
{
# Enable catppuccin colors
# https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/groups/integrations/indent_blankline.lua
rootOpts.colorschemes.catppuccin.settings.integrations.indent_blankline = true;
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/indent-blankline.lua#L15-L41
opts = {
enable = true;
settings = {
indent.char = "";
# Disable scope highlighting
scope.enabled = false;
exclude.filetypes = [
"aerial"
"alpha"
"dashboard"
"lazy"
"mason"
"neo-tree"
"NvimTree"
"neogitstatus"
"notify"
"startify"
"toggleterm"
"Trouble"
];
scope = {
show_start = false;
show_end = false;
};
};
};
}