From 196ecca512af18548ecf329946359c95b2c725ba Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 15 Nov 2021 12:49:02 -0500 Subject: [PATCH] lunarvim: Add indent-blankline plugin Now it's easier to see where in the indentation tree we're at. --- lunarvim/.config/lvim/config.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lunarvim/.config/lvim/config.lua b/lunarvim/.config/lvim/config.lua index 8b98ed44..1ade77ff 100644 --- a/lunarvim/.config/lvim/config.lua +++ b/lunarvim/.config/lvim/config.lua @@ -9,6 +9,21 @@ lvim.leader = "space" lvim.keys.normal_mode[""] = ":w" -- Plugins +lvim.plugins = { + { + "lukas-reineke/indent-blankline.nvim", + event = "BufRead", + setup = function() + vim.g.indentLine_enabled = 1 + vim.g.indent_blankline_char = "▏" + vim.g.indent_blankline_filetype_exclude = {"help", "terminal", "dashboard"} + vim.g.indent_blankline_buftype_exclude = {"terminal"} + vim.g.indent_blankline_show_trailing_blankline_indent = false + vim.g.indent_blankline_show_first_indent_level = false + end + }, +} + lvim.builtin.dashboard.active = true lvim.builtin.terminal.active = true lvim.builtin.nvimtree.setup.view.side = "left"