From e2662aef7d8becb0b792fed12d6925bc7298683e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20He=C3=9Felmann?= Date: Sun, 5 May 2024 21:50:19 +0200 Subject: [PATCH] update vim --- pkgs/editor/neovim/config/lua/plugins/syntax.lua | 2 +- pkgs/editor/neovim/config/lua/plugins/treesitter.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/editor/neovim/config/lua/plugins/syntax.lua b/pkgs/editor/neovim/config/lua/plugins/syntax.lua index 56a3bfda..d857ed84 100644 --- a/pkgs/editor/neovim/config/lua/plugins/syntax.lua +++ b/pkgs/editor/neovim/config/lua/plugins/syntax.lua @@ -1,5 +1,5 @@ return { { "ekalinin/Dockerfile.vim", ft = "dockerfile" }, { "LnL7/vim-nix", ft = "nix" }, - { "RRethy/vim-illuminate", event = "BufRead" }, + { "RRethy/vim-illuminate", event = "VeryLazy" }, } diff --git a/pkgs/editor/neovim/config/lua/plugins/treesitter.lua b/pkgs/editor/neovim/config/lua/plugins/treesitter.lua index 3740f973..489efd4c 100644 --- a/pkgs/editor/neovim/config/lua/plugins/treesitter.lua +++ b/pkgs/editor/neovim/config/lua/plugins/treesitter.lua @@ -110,7 +110,7 @@ return { { "RRethy/nvim-treesitter-textsubjects" }, { "windwp/nvim-ts-autotag" }, }, - event = "BufWinEnter", + event = "VeryLazy", }, { "ThePrimeagen/refactoring.nvim",