From 1ad342d73e7e8df5235c699a18c87fc4c9fc4b03 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Wed, 31 Jul 2024 11:22:38 +0200 Subject: ref: Move more plugin setup to lazy load --- lua/gabrielgio/init.lua | 1 + lua/gabrielgio/lazy.lua | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 lua/gabrielgio/lazy.lua (limited to 'lua/gabrielgio') diff --git a/lua/gabrielgio/init.lua b/lua/gabrielgio/init.lua index 590aa13..00a5ba3 100644 --- a/lua/gabrielgio/init.lua +++ b/lua/gabrielgio/init.lua @@ -4,6 +4,7 @@ local now, later = mini_deps.now, mini_deps.later now(function() require("gabrielgio.settable") end) now(function() require("gabrielgio.treesitter") end) +later(function() require("gabrielgio.lazy") end) later(function() require("gabrielgio.lsp") end) later(function() require("gabrielgio.mini") end) later(function() require("gabrielgio.go") end) diff --git a/lua/gabrielgio/lazy.lua b/lua/gabrielgio/lazy.lua new file mode 100644 index 0000000..f5d07f7 --- /dev/null +++ b/lua/gabrielgio/lazy.lua @@ -0,0 +1,9 @@ +-- this file is an amalgamation of configurations that don't have its own +-- config file and will be lazily loaded +local neogit = require("neogit") +local null_ls = require("null-ls") +local mason = require("mason") + +null_ls.setup({sources = {null_ls.builtins.diagnostics.golangci_lint}}) +neogit.setup() +mason.setup() -- cgit v1.2.3