feat(plugins): add indent-blankline
This commit is contained in:
parent
d20dc7dc2f
commit
455cb6f839
1 changed files with 41 additions and 0 deletions
41
plugins/indent-blankline.nix
Normal file
41
plugins/indent-blankline.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue