diff --git a/config/nvim/lua/plugins/gitsigns.lua b/config/nvim/lua/plugins/gitsigns.lua index 46c30108..5cfd63b1 100644 --- a/config/nvim/lua/plugins/gitsigns.lua +++ b/config/nvim/lua/plugins/gitsigns.lua @@ -1,5 +1,6 @@ return { "lewis6991/gitsigns.nvim", + event = { "BufReadPre", "BufNewFile" }, config = function() require("gitsigns").setup { signcolumn = true, diff --git a/config/nvim/lua/plugins/indent_blankline.lua b/config/nvim/lua/plugins/indent_blankline.lua index ae83b214..58208526 100644 --- a/config/nvim/lua/plugins/indent_blankline.lua +++ b/config/nvim/lua/plugins/indent_blankline.lua @@ -1,5 +1,6 @@ return { "lukas-reineke/indent-blankline.nvim", + event = { "BufReadPre", "BufNewFile" }, config = function() require("indent_blankline").setup { show_current_context = true, diff --git a/config/nvim/lua/plugins/treesitter.lua b/config/nvim/lua/plugins/treesitter.lua index 81332ade..9afd6c65 100644 --- a/config/nvim/lua/plugins/treesitter.lua +++ b/config/nvim/lua/plugins/treesitter.lua @@ -1,5 +1,6 @@ return { "nvim-treesitter/nvim-treesitter", + event = { "BufReadPre", "BufNewFile" }, config = function() require("nvim-treesitter.configs").setup { highlight = {