From 7b73788635bdddffb340ff779b83d04556b3f8c8 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 22 Aug 2024 17:34:39 +0200 Subject: feat: Sync --- lua/gabrielgio/init.lua | 4 ++-- lua/gabrielgio/lazy.lua | 1 + lua/gabrielgio/lsp.lua | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/gabrielgio') diff --git a/lua/gabrielgio/init.lua b/lua/gabrielgio/init.lua index 1cd849a..d2eafa8 100644 --- a/lua/gabrielgio/init.lua +++ b/lua/gabrielgio/init.lua @@ -2,10 +2,10 @@ 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.treesitter") end) -now(function() require("gabrielgio.lazy") end) now(function() require("gabrielgio.lsp") end) +now(function() require("gabrielgio.lazy") 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) diff --git a/lua/gabrielgio/lazy.lua b/lua/gabrielgio/lazy.lua index 50fd3a5..2179cb8 100644 --- a/lua/gabrielgio/lazy.lua +++ b/lua/gabrielgio/lazy.lua @@ -1,5 +1,6 @@ -- this file is an amalgamation of configurations that don't have its own -- config file and will be lazily loaded +require('neogit').setup() require('formatter').setup() require("mason").setup() require("mason-lspconfig").setup { diff --git a/lua/gabrielgio/lsp.lua b/lua/gabrielgio/lsp.lua index 2be8b5e..5ce2ed5 100644 --- a/lua/gabrielgio/lsp.lua +++ b/lua/gabrielgio/lsp.lua @@ -20,7 +20,7 @@ local function on_attach(client, bufnr) end local function setup(f) - return f({capabilities = capabilities, on_attach = on_attach}) + return f({on_attach = on_attach}) end local function load_all(l) @@ -40,7 +40,6 @@ load_all({ }) lsp_config.gopls.setup({ - capabilities = capabilities, cmd_env = {GOFLAGS = "-tags=unit,integration,e2e"}, on_attach = on_attach }) -- cgit v1.2.3