aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorGabriel A. Giovanini <g.giovanini@gridx.de>2024-09-02 11:25:37 +0200
committerGabriel A. Giovanini <g.giovanini@gridx.de>2024-09-02 11:25:37 +0200
commiteca140c8a12198c45b9abaefa8aa186686957ab1 (patch)
tree4112ba4ddf3e706f39696d150914c030d4ca97f1 /lua
parent7b73788635bdddffb340ff779b83d04556b3f8c8 (diff)
downloadgabrielgio.lua-eca140c8a12198c45b9abaefa8aa186686957ab1.tar.gz
gabrielgio.lua-eca140c8a12198c45b9abaefa8aa186686957ab1.tar.bz2
gabrielgio.lua-eca140c8a12198c45b9abaefa8aa186686957ab1.zip
feat: Sync
Diffstat (limited to 'lua')
-rw-r--r--lua/gabrielgio/lazy.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/lua/gabrielgio/lazy.lua b/lua/gabrielgio/lazy.lua
index 2179cb8..42ab567 100644
--- a/lua/gabrielgio/lazy.lua
+++ b/lua/gabrielgio/lazy.lua
@@ -1,35 +1,35 @@
-- this file is an amalgamation of configurations that don't have its own
-- config file and will be lazily loaded
+require('gitblame').setup()
require('neogit').setup()
require('formatter').setup()
require("mason").setup()
require("mason-lspconfig").setup {
ensure_installed = {
- "gopls",
- "zls",
- "lua_ls",
- "rust_analyzer",
--- "clangd", not working on alpine
"cssls",
- "html",
"emmet_ls",
+ "gopls",
+ "html",
+ "lua_ls",
"pylsp",
- "zls",
- "tsserver"
+ "rust_analyzer",
+ "tsserver",
+ "zls"
+-- "clangd" not working on alpine
},
}
local lint = require('lint')
lint.linters_by_ft = {
- markdown = {'vale'},
- go = {"golangcilint"},
- lua = {"luacheck"},
+ go = {"golangcilint"},
+ lua = {"luacheck"},
+ javascript = {"prettier"},
}
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
- callback = function()
- lint.try_lint()
- end,
+ callback = function()
+ lint.try_lint()
+ end,
})