From 37b2c53a467b73b49d247b06ef0b9ab8e098d082 Mon Sep 17 00:00:00 2001 From: siduck Date: Wed, 13 Jul 2022 09:51:20 +0530 Subject: [PATCH] fix diff highlights not working on gitcommit filetypes (#1317) removed indentline char as it moves indentline a lil bit towards right whenever contextstart highlight shows , check https://github.com/lukas-reineke/indent-blankline.nvim/issues/454 --- lua/plugins/configs/others.lua | 1 - lua/plugins/init.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/plugins/configs/others.lua b/lua/plugins/configs/others.lua index a78c71e..ade0fde 100644 --- a/lua/plugins/configs/others.lua +++ b/lua/plugins/configs/others.lua @@ -33,7 +33,6 @@ M.blankline = function() local options = { indentLine_enabled = 1, - char = "▏", filetype_exclude = { "help", "terminal", diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index bc3e1bf..2270611 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -64,7 +64,7 @@ local plugins = { -- git stuff ["lewis6991/gitsigns.nvim"] = { - opt = true, + ft = "gitcommit", setup = function() require("core.lazy_load").gitsigns() end,