aboutsummaryrefslogtreecommitdiff
path: root/lua/gabrielgio
diff options
context:
space:
mode:
authorGabriel A. Giovanini <g.giovanini@gridx.de>2024-08-22 17:34:39 +0200
committerGabriel A. Giovanini <g.giovanini@gridx.de>2024-08-22 17:34:39 +0200
commit7b73788635bdddffb340ff779b83d04556b3f8c8 (patch)
tree73e57acadcfe4511517cea17686544c630d5356c /lua/gabrielgio
parenta89408d1302e8d5c0216041a1e25a226696608e6 (diff)
downloadgabrielgio.lua-7b73788635bdddffb340ff779b83d04556b3f8c8.tar.gz
gabrielgio.lua-7b73788635bdddffb340ff779b83d04556b3f8c8.tar.bz2
gabrielgio.lua-7b73788635bdddffb340ff779b83d04556b3f8c8.zip
feat: Sync
Diffstat (limited to 'lua/gabrielgio')
-rw-r--r--lua/gabrielgio/init.lua4
-rw-r--r--lua/gabrielgio/lazy.lua1
-rw-r--r--lua/gabrielgio/lsp.lua3
3 files changed, 4 insertions, 4 deletions
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
})