Christian Chiarulli 2 rokov pred
rodič
commit
03156e42ac

+ 1 - 1
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()

+ 5 - 0
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

+ 1 - 1
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,
   },