Nvim: updated indent-blankline and changed tabs to spaces
This commit is contained in:
parent
5a050da61d
commit
4656e8e3dc
2 changed files with 19 additions and 11 deletions
|
@ -16,10 +16,10 @@ vim.opt.completeopt = 'menu,menuone,noselect'
|
|||
vim.opt.list = true
|
||||
|
||||
-- correct tabbing
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = false
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
|
||||
-- enable foldcolumn
|
||||
vim.wo.foldcolumn = "2"
|
||||
|
|
|
@ -3,12 +3,20 @@ return {
|
|||
"lukas-reineke/indent-blankline.nvim",
|
||||
-- event = "BufReadPre",
|
||||
main = 'ibl',
|
||||
opts = {
|
||||
-- char = "│",
|
||||
filetype_exclude = { "help", "lazy" },
|
||||
show_trailing_blankline_indent = true,
|
||||
show_current_context = true,
|
||||
show_current_context_start = true,
|
||||
},
|
||||
config = function()
|
||||
require("ibl").setup({
|
||||
enabled = true,
|
||||
indent = {
|
||||
char = "│",
|
||||
smart_indent_cap = true
|
||||
},
|
||||
scope = {
|
||||
exclude = {
|
||||
language = { "help", "lazy" }
|
||||
}
|
||||
},
|
||||
})
|
||||
end,
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue