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