From 6f2e38e183bcf1faa864ebb11b162c99fd4a0130 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Mon, 2 Sep 2024 16:18:16 +0200 Subject: feat: Sync --- lua/gabrielgio/init.lua | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) (limited to 'lua/gabrielgio/init.lua') diff --git a/lua/gabrielgio/init.lua b/lua/gabrielgio/init.lua index d2eafa8..2c146cf 100644 --- a/lua/gabrielgio/init.lua +++ b/lua/gabrielgio/init.lua @@ -1,17 +1,25 @@ -local mini_deps = require('mini.deps') +local mini_deps = require("mini.deps") local now, later = mini_deps.now, mini_deps.later -now(function() require("gabrielgio.settable") end) -now(function() require("gabrielgio.lsp") end) -now(function() require("gabrielgio.lazy") end) +local function require_func(v) + return function() + require(v) + end +end -later(function() require("gabrielgio.treesitter") end) -later(function() require("gabrielgio.mini") end) -later(function() require("gabrielgio.go") end) -later(function() require("gabrielgio.telescope") end) -later(function() require("gabrielgio.undotree") end) -later(function() require("gabrielgio.so") end) -later(function() require("gabrielgio.trouble") end) -later(function() require("gabrielgio.dap") end) -later(function() require("gabrielgio.term") end) -later(function() require("gabrielgio.neovide") end) +now(require_func("gabrielgio.settable")) +now(require_func("gabrielgio.lsp")) +now(require_func("gabrielgio.lazy")) + +later(require_func("gabrielgio.linter")) +later(require_func("gabrielgio.formatter")) +later(require_func("gabrielgio.treesitter")) +later(require_func("gabrielgio.mini")) +later(require_func("gabrielgio.go")) +later(require_func("gabrielgio.telescope")) +later(require_func("gabrielgio.undotree")) +later(require_func("gabrielgio.so")) +later(require_func("gabrielgio.trouble")) +later(require_func("gabrielgio.dap")) +later(require_func("gabrielgio.term")) +later(require_func("gabrielgio.neovide")) -- cgit v1.2.3