added indent plugin to neovim

This commit is contained in:
Nicolai Van der Storm 2023-10-17 14:17:39 +02:00
parent c64b53a61e
commit affe45d359
Signed by: NicolaiVdS
GPG Key ID: CA53B34914EFD59B
3 changed files with 23 additions and 1 deletions

View File

@ -35,6 +35,12 @@
cmp_luasnip
luasnip
nvim-cmp
# The rest
{
plugin = indent-blankline-nvim;
config = toLuaFile ./plugins/indent.lua;
}
];
};
}

View File

@ -1,4 +1,10 @@
require("catppuccin").setup({
local status, plugin = pcall(require,'catppuccin')
if not status then
print('Plugin Error: ', plugin)
return
end
plugin.setup({
flavour = "mocha", -- latte, frappe, macchiato, mocha
background = { -- :h background
light = "latte",

View File

@ -0,0 +1,10 @@
local status, plugin = pcall(require,'indent_blankline')
if not status then
print('Error with plugin: ', plugin)
return
end
plugin.setup{
show_current_context = true,
show_current_context_start = true,
}
vim.g.indent_blankline_filetype_exclude = {'dashboard'}