summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2022-09-21 11:09:11 -0400
committerGitHub <[email protected]>2022-09-21 11:09:11 -0400
commit03156e42acde5b2e40c5245b8720450a4c5d25ba (patch)
treefc34406d3b5c7ce05619d8e89a3d6b3ba2ace326
parent2ba566b0d820977323f48cbdcc2b3b307b882204 (diff)
Indentlines (#3057)
-rw-r--r--lua/lvim/core/indentlines.lua2
-rw-r--r--lua/lvim/core/theme.lua5
-rw-r--r--lua/lvim/plugins.lua2
3 files changed, 7 insertions, 2 deletions
diff --git a/lua/lvim/core/indentlines.lua b/lua/lvim/core/indentlines.lua
index 5d51a313..3039dd77 100644
--- a/lua/lvim/core/indentlines.lua
+++ b/lua/lvim/core/indentlines.lua
@@ -33,7 +33,7 @@ M.setup = function()
return
end
- indent_blankline.configure(lvim.builtin.indentlines.options)
+ indent_blankline.setup(lvim.builtin.indentlines.options)
if lvim.builtin.indentlines.on_config_done then
lvim.builtin.indentlines.on_config_done()
diff --git a/lua/lvim/core/theme.lua b/lua/lvim/core/theme.lua
index c02aaa7e..ad3c84cd 100644
--- a/lua/lvim/core/theme.lua
+++ b/lua/lvim/core/theme.lua
@@ -4,6 +4,11 @@ M.config = function()
lvim.builtin.theme = {
name = "tokyonight",
options = {
+ on_highlights = function(hl, c)
+ hl.IndentBlanklineContextChar = {
+ fg = c.dark5,
+ }
+ end,
style = "night", -- The theme comes in three styles, `storm`, a darker variant `night` and `day`
transparent = lvim.transparent_window, -- Enable this to disable setting the background color
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua
index 625f3ad1..2140636b 100644
--- a/lua/lvim/plugins.lua
+++ b/lua/lvim/plugins.lua
@@ -271,7 +271,7 @@ local core_plugins = {
{
"lukas-reineke/indent-blankline.nvim",
config = function()
- require("lvim.core.indent-blankline").setup()
+ require("lvim.core.indentlines").setup()
end,
disable = not lvim.builtin.indentlines.active,
},