diff options
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 65290a23..6f451aab 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -185,7 +185,27 @@ return require("packer").startup(function(use) event = "BufRead", disable = not O.plugin.ts_playground.active } - -- use {'lukas-reineke/indent-blankline.nvim', opt=true, branch = 'lua'} + + use { + "lukas-reineke/indent-blankline.nvim", + branch = "lua", + 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 = true + end, + disable = not O.plugin.indent_line.active + } + -- use {"nvim-telescope/telescope-fzy-native.nvim", opt = true} -- use {"nvim-telescope/telescope-project.nvim", opt = true} -- -- comments in context |