feat(nvim): show tabs as tab characters
This commit is contained in:
parent
75fe012e0a
commit
28d4678907
2 changed files with 7 additions and 2 deletions
|
@ -16,7 +16,8 @@ vim.o.relativenumber = true
|
||||||
vim.o.scrolloff = 5
|
vim.o.scrolloff = 5
|
||||||
vim.o.sidescrolloff = 15
|
vim.o.sidescrolloff = 15
|
||||||
-- show leading/trailing whitespace
|
-- show leading/trailing whitespace
|
||||||
vim.o.list = true
|
vim.opt.list = true
|
||||||
|
vim.opt.listchars:append("tab:»·")
|
||||||
-- always show status & tab line
|
-- always show status & tab line
|
||||||
vim.o.laststatus = 3
|
vim.o.laststatus = 3
|
||||||
vim.o.showtabline = 2
|
vim.o.showtabline = 2
|
||||||
|
|
|
@ -54,7 +54,11 @@ return packer.startup({
|
||||||
use({
|
use({
|
||||||
"lukas-reineke/indent-blankline.nvim",
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
config = function()
|
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 = {
|
vim.g.indent_blankline_filetype_exclude = {
|
||||||
"dashboard",
|
"dashboard",
|
||||||
"help",
|
"help",
|
||||||
|
|
Loading…
Reference in a new issue