diff --git a/init.lua b/init.lua
index 524e0064ce60da7e4506d27268b7680d6aec730a..39fe5859c504d1f7681691cbb920c49c2e88de04 100644
--- a/init.lua
+++ b/init.lua
@@ -24,6 +24,7 @@ "nvim-lua/plenary.nvim", -- base lib
"nvim-telescope/telescope.nvim", -- telescope
"nvim-telescope/telescope-file-browser.nvim", -- telescope file browser
"TimUntersberger/neogit", -- magit
+ "f-person/git-blame.nvim", -- more git info
"echasnovski/mini.nvim", -- provides many things
"mhartington/formatter.nvim", -- provider formatter
"mfussenegger/nvim-lint", -- general linter
diff --git a/lua/gabrielgio/lazy.lua b/lua/gabrielgio/lazy.lua
index 2179cb8b6c47616fd3f114337dbaee021d88571b..42ab56730214e434fbf8c2d0bbb1b188f63d314b 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,
})