From c1d51d3ece47c70526302b68db07ba50f13d36b5 Mon Sep 17 00:00:00 2001 From: Szwendacz99 Date: Thu, 22 Dec 2022 13:07:20 +0100 Subject: [PATCH] add indent-blankline plugin --- lua/conf-indent-blankline.lua | 5 +++++ lua/initializer.lua | 1 + lua/packer-setup.lua | 1 + 3 files changed, 7 insertions(+) create mode 100644 lua/conf-indent-blankline.lua diff --git a/lua/conf-indent-blankline.lua b/lua/conf-indent-blankline.lua new file mode 100644 index 0000000..03d0b87 --- /dev/null +++ b/lua/conf-indent-blankline.lua @@ -0,0 +1,5 @@ +require("indent_blankline").setup { + space_char_blankline = " ", + show_current_context = true, + show_current_context_start = true, +} diff --git a/lua/initializer.lua b/lua/initializer.lua index 40b954e..208a5b5 100644 --- a/lua/initializer.lua +++ b/lua/initializer.lua @@ -11,4 +11,5 @@ require("conf-nvim-tree") require("conf-bufferline") require("conf-themes") require("conf-treesitter") +require("conf-indent-blankline") require("my-lspconfig") -- need to be after treesitter initialization diff --git a/lua/packer-setup.lua b/lua/packer-setup.lua index d346ed6..8343e6e 100644 --- a/lua/packer-setup.lua +++ b/lua/packer-setup.lua @@ -32,6 +32,7 @@ return require('packer').startup(function(use) use 'Glench/Vim-Jinja2-Syntax' use 'vmware-archive/salt-vim' use 'stephpy/vim-yaml' + use 'lukas-reineke/indent-blankline.nvim' use 'nvim-lualine/lualine.nvim' use 'itchyny/vim-cursorword'