feat: Tweaked how tabs, spaces, and indents are displayed

This commit is contained in:
2026-10-02 06:18:05 +02:00
parent 596caf97e9
commit 697b059716
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ vim.o.showmode = false
vim.o.scrolloff = 10
-- Highlight tabs and trailing whitespace
vim.o.listchars = "trail:~,tab:¦⁃,nbsp:␣"
vim.o.listchars = "trail:·,lead:·,tab:-->,nbsp:␣"
vim.o.list = true
-- Fold settings
@@ -25,14 +25,10 @@ return {
},
indent = {
enabled = true,
indent = {
char = "¦",
},
animate = {
enabled = false,
},
scope = {
char = "¦",
only_current = true,
},
},
@@ -82,6 +82,8 @@ return {
DiagnosticNumHint = { fg = palette.dark0, bg = palette.bright_aqua, bold = true },
DiagnosticNumInfo = { fg = palette.dark0, bg = palette.bright_blue, bold = true },
SnacksIndentScope = { fg = palette.light4 },
SnacksIndent = { fg = palette.dark2 },
Whitespace = { fg = palette.dark1 },
},
}
end,