aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2024-03-06 19:42:54 +0200
committersrdusr <trevorgray@srdusr.com>2024-03-06 19:42:54 +0200
commit216da32c6bddb80defaac46b3d21a35f22c3a5f4 (patch)
treecc08660bd7b939021e082d79ce6786a34fcf099c
parentf7a22326bf2d58626a32bda10832856f4508850a (diff)
downloaddotfiles-216da32c6bddb80defaac46b3d21a35f22c3a5f4.tar.gz
dotfiles-216da32c6bddb80defaac46b3d21a35f22c3a5f4.zip
Add indent-blankline config/plugin
-rw-r--r--lua/plugins/indent-blankline.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/plugins/indent-blankline.lua b/lua/plugins/indent-blankline.lua
new file mode 100644
index 0000000..25a2da0
--- /dev/null
+++ b/lua/plugins/indent-blankline.lua
@@ -0,0 +1,24 @@
+--local highlight = {
+-- "RainbowRed",
+-- "RainbowYellow",
+-- "RainbowBlue",
+-- "RainbowOrange",
+-- "RainbowGreen",
+-- "RainbowViolet",
+-- "RainbowCyan",
+--}
+--
+--local hooks = require("ibl.hooks")
+---- create the highlight groups in the highlight setup hook, so they are reset
+---- every time the colorscheme changes
+--hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
+-- vim.api.nvim_set_hl(0, "RainbowRed", { fg = "#E06C75" })
+-- vim.api.nvim_set_hl(0, "RainbowYellow", { fg = "#E5C07B" })
+-- vim.api.nvim_set_hl(0, "RainbowBlue", { fg = "#61AFEF" })
+-- vim.api.nvim_set_hl(0, "RainbowOrange", { fg = "#D19A66" })
+-- vim.api.nvim_set_hl(0, "RainbowGreen", { fg = "#98C379" })
+-- vim.api.nvim_set_hl(0, "RainbowViolet", { fg = "#C678DD" })
+-- vim.api.nvim_set_hl(0, "RainbowCyan", { fg = "#56B6C2" })
+--end)
+
+require("ibl").setup({ indent = { highlight = highlight } })