feat(nvim): show tabs as tab characters

This commit is contained in:
winston 2022-11-20 19:57:55 +01:00
parent 75fe012e0a
commit 28d4678907
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 7 additions and 2 deletions

View file

@ -16,7 +16,8 @@ vim.o.relativenumber = true
vim.o.scrolloff = 5
vim.o.sidescrolloff = 15
-- show leading/trailing whitespace
vim.o.list = true
vim.opt.list = true
vim.opt.listchars:append("tab:»·")
-- always show status & tab line
vim.o.laststatus = 3
vim.o.showtabline = 2

View file

@ -54,7 +54,11 @@ return packer.startup({
use({
"lukas-reineke/indent-blankline.nvim",
config = function()
require("indent_blankline").setup({})
require("indent_blankline").setup({
space_char_blankline = " ",
show_current_context = true,
show_current_context_start = true,
})
vim.g.indent_blankline_filetype_exclude = {
"dashboard",
"help",