aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-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
})