Lazy load stuff

This commit is contained in:
2024-12-28 00:46:28 +01:00
parent 23bb4549f1
commit b96a12e1ff
19 changed files with 141 additions and 163 deletions
+4 -6
View File
@@ -1,8 +1,9 @@
return {
{
"nvim-treesitter",
lazy = false,
load = function() end,
load = function()
vim.cmd.packadd("nvim-treesitter-textobjects")
end,
event = { "BufReadPost", "BufWritePost", "BufNewFile" },
opts = {
highlight = {
@@ -36,8 +37,6 @@ return {
{
"ts-comments.nvim",
lazy = false,
load = function() end,
after = function()
require("ts-comments").setup({})
end,
@@ -45,8 +44,7 @@ return {
{
"vim-illuminate",
lazy = false,
load = function() end,
load = vim.cmd.packadd,
event = { "BufReadPost", "BufWritePost", "BufNewFile" },
opts = {
providers = {