Changin the indent highlight format

This commit is contained in:
Juan Miguel Rúa 2024-05-02 17:07:15 +02:00
parent 5616aef5ed
commit 9ebd1fa9c6
2 changed files with 10 additions and 2 deletions

View File

@ -143,7 +143,8 @@ vim.opt.splitbelow = true
-- See `:help 'list'` -- See `:help 'list'`
-- and `:help 'listchars'` -- and `:help 'listchars'`
vim.opt.list = true vim.opt.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' } -- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
vim.opt.listchars = { tab = ' ', trail = '·', nbsp = '' }
-- Preview substitutions live, as you type! -- Preview substitutions live, as you type!
vim.opt.inccommand = 'split' vim.opt.inccommand = 'split'

View File

@ -1,9 +1,16 @@
local highlight = {
'ColorColumn',
'Whitespace',
}
return { return {
{ -- Add indentation guides even on blank lines { -- Add indentation guides even on blank lines
'lukas-reineke/indent-blankline.nvim', 'lukas-reineke/indent-blankline.nvim',
-- Enable `lukas-reineke/indent-blankline.nvim` -- Enable `lukas-reineke/indent-blankline.nvim`
-- See `:help ibl` -- See `:help ibl`
main = 'ibl', main = 'ibl',
opts = {}, opts = {
indent = { highlight = highlight, char = '' },
},
}, },
} }