summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorSteven Le Rouzic <slerouzic@siradel.com>2023-11-22 10:33:44 +0100
committerSteven Le Rouzic <slerouzic@siradel.com>2023-11-22 10:33:44 +0100
commit84fafc295181180a2060cc79bf0a6383ac42f4a6 (patch)
tree2382bd5ab48b59e1fee511cca323585b27e49033 /lua
parent7535ab150df4c8561fc7e798553d1544971ced19 (diff)
fix ibl colors
Diffstat (limited to 'lua')
-rw-r--r--lua/config.lua2
-rw-r--r--lua/my_theme.lua7
2 files changed, 8 insertions, 1 deletions
diff --git a/lua/config.lua b/lua/config.lua
index bfa21c7..03062cb 100644
--- a/lua/config.lua
+++ b/lua/config.lua
@@ -37,7 +37,7 @@ require("ibl").setup {
enabled = false,
},
indent = {
- char = "|",
+ char = "│",
},
}
diff --git a/lua/my_theme.lua b/lua/my_theme.lua
index 677149e..0eda28e 100644
--- a/lua/my_theme.lua
+++ b/lua/my_theme.lua
@@ -26,6 +26,13 @@ function fixup_theme()
vim.api.nvim_set_hl(0, "@lsp.type.class.cpp", { link = "@type" })
vim.api.nvim_set_hl(0, "@lsp.type.enum.cpp", { link = "@type" })
vim.api.nvim_set_hl(0, "@punctuation.bracket", { link = "@punctuation" })
+ vim.api.nvim_set_hl(0, "@ibl", { link = "IndentBlanklineChar" })
+ vim.api.nvim_set_hl(0, "IblIndent", { link = "@ibl" })
+ vim.api.nvim_set_hl(0, "IblWhitespace", { link = "@ibl" })
+ vim.api.nvim_set_hl(0, "@ibl.indent.char", { link = "@ibl" })
+ vim.api.nvim_set_hl(0, "@ibl.indent.char.1", { link = "@ibl" })
+ vim.api.nvim_set_hl(0, "@ibl.whitespace.char", { link = "@ibl" })
+ vim.api.nvim_set_hl(0, "@ibl.whitespace.char.1", { link = "@ibl" })
end
my_switch_theme = function()