From 57ec4f7e2d14e32d58ff2eb6787f81c7694494e0 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 5 May 2022 14:24:15 +0200 Subject: [PATCH] Feat: Add indent_blankline to see indentation --- nvim/.config/nvim/lua/config/indentblankline.lua | 6 ++++++ nvim/.config/nvim/lua/plugins.lua | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 nvim/.config/nvim/lua/config/indentblankline.lua diff --git a/nvim/.config/nvim/lua/config/indentblankline.lua b/nvim/.config/nvim/lua/config/indentblankline.lua new file mode 100644 index 0000000..ed7593b --- /dev/null +++ b/nvim/.config/nvim/lua/config/indentblankline.lua @@ -0,0 +1,6 @@ +vim.opt.list = true +vim.opt.listchars:append("eol:↴") + +require("indent_blankline").setup { + show_end_of_line = true, +} diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 71b849a..aae5c45 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -130,6 +130,11 @@ return packer.startup(function(use) config = [[require('config.colorizer')]], } + use { + "lukas-reineke/indent-blankline.nvim", + config = [[require('config.indentblankline')]] + } + if PACKER_BOOTSTRAP then require("packer").sync() end