diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-01-13 14:55:26 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-01-13 14:55:26 -0600 |
commit | 92ee9f617d60dca7b149391c8858b66be3c2e08f (patch) | |
tree | 3aabc22d204b1fcca6fda758d8bdb06ce79272be | |
parent | 4bb413365b8bdee583e32e60ecc1648e239f4290 (diff) |
fix(nvim): improve indent-blankline highlights
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/plugins/gruvbox.lua | 7 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua | 26 |
2 files changed, 21 insertions, 12 deletions
diff --git a/nvim/.config/nvim/lua/tobyvin/plugins/gruvbox.lua b/nvim/.config/nvim/lua/tobyvin/plugins/gruvbox.lua index 6d69599..3d17086 100644 --- a/nvim/.config/nvim/lua/tobyvin/plugins/gruvbox.lua +++ b/nvim/.config/nvim/lua/tobyvin/plugins/gruvbox.lua @@ -25,6 +25,13 @@ local M = { StatusLineNC = { link = "GruvboxNC" }, WinBar = { link = "GruvboxNC" }, WinBarNC = { link = "GruvboxFg4" }, + IndentBlanklineContext1 = { link = "GruvboxRed" }, + IndentBlanklineContext2 = { link = "GruvboxOrange" }, + IndentBlanklineContext3 = { link = "GruvboxYellow" }, + IndentBlanklineContext4 = { link = "GruvboxGreen" }, + IndentBlanklineContext5 = { link = "GruvboxAqua" }, + IndentBlanklineContext6 = { link = "GruvboxBlue" }, + IndentBlanklineContext7 = { link = "GruvboxViolet" }, }, }, } diff --git a/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua b/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua index 1eb961f..ae2ab0c 100644 --- a/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua +++ b/nvim/.config/nvim/lua/tobyvin/plugins/indent_blankline.lua @@ -5,12 +5,13 @@ local M = { } function M.init() - vim.api.nvim_set_hl(0, "IndentBlanklineIndent1", { fg = "#E06C75", nocombine = true }) - vim.api.nvim_set_hl(0, "IndentBlanklineIndent2", { fg = "#E5C07B", nocombine = true }) - vim.api.nvim_set_hl(0, "IndentBlanklineIndent3", { fg = "#98C379", nocombine = true }) - vim.api.nvim_set_hl(0, "IndentBlanklineIndent4", { fg = "#56B6C2", nocombine = true }) - vim.api.nvim_set_hl(0, "IndentBlanklineIndent5", { fg = "#61AFEF", nocombine = true }) - vim.api.nvim_set_hl(0, "IndentBlanklineIndent6", { fg = "#C678DD", nocombine = true }) + vim.api.nvim_set_hl(0, "IndentBlanklineContext1", { fg = "Red", default = true }) + vim.api.nvim_set_hl(0, "IndentBlanklineContext2", { fg = "Brown", default = true }) + vim.api.nvim_set_hl(0, "IndentBlanklineContext3", { fg = "Yellow", default = true }) + vim.api.nvim_set_hl(0, "IndentBlanklineContext4", { fg = "Green", default = true }) + vim.api.nvim_set_hl(0, "IndentBlanklineContext5", { fg = "Cyan", default = true }) + vim.api.nvim_set_hl(0, "IndentBlanklineContext6", { fg = "Blue", default = true }) + vim.api.nvim_set_hl(0, "IndentBlanklineContext7", { fg = "Magenta", default = true }) end function M.config() @@ -18,12 +19,13 @@ function M.config() indent_blankline.setup({ context_highlight_list = { - "IndentBlanklineIndent1", - "IndentBlanklineIndent2", - "IndentBlanklineIndent3", - "IndentBlanklineIndent4", - "IndentBlanklineIndent5", - "IndentBlanklineIndent6", + "IndentBlanklineContext1", + "IndentBlanklineContext2", + "IndentBlanklineContext3", + "IndentBlanklineContext4", + "IndentBlanklineContext5", + "IndentBlanklineContext6", + "IndentBlanklineContext7", }, space_char_blankline = " ", show_end_of_line = true, |