Nvim: updated indent-blankline and changed tabs to spaces

This commit is contained in:
pr0c3550r 2023-10-02 19:47:26 +02:00
parent 5a050da61d
commit 4656e8e3dc
2 changed files with 19 additions and 11 deletions

View file

@ -16,10 +16,10 @@ vim.opt.completeopt = 'menu,menuone,noselect'
vim.opt.list = true vim.opt.list = true
-- correct tabbing -- correct tabbing
vim.opt.tabstop = 2 vim.opt.tabstop = 4
vim.opt.softtabstop = 2 vim.opt.softtabstop = 4
vim.opt.shiftwidth = 2 vim.opt.shiftwidth = 4
vim.opt.expandtab = false vim.opt.expandtab = true
-- enable foldcolumn -- enable foldcolumn
vim.wo.foldcolumn = "2" vim.wo.foldcolumn = "2"

View file

@ -3,12 +3,20 @@ return {
"lukas-reineke/indent-blankline.nvim", "lukas-reineke/indent-blankline.nvim",
-- event = "BufReadPre", -- event = "BufReadPre",
main = 'ibl', main = 'ibl',
opts = { config = function()
-- char = "│", require("ibl").setup({
filetype_exclude = { "help", "lazy" }, enabled = true,
show_trailing_blankline_indent = true, indent = {
show_current_context = true, char = "",
show_current_context_start = true, smart_indent_cap = true
}, },
scope = {
exclude = {
language = { "help", "lazy" }
}
},
})
end,
opts = {},
}, },
} }