gabrielgio.lua @ eca140c8a12198c45b9abaefa8aa186686957ab1

 1diff --git a/init.lua b/init.lua
 2index 524e0064ce60da7e4506d27268b7680d6aec730a..39fe5859c504d1f7681691cbb920c49c2e88de04 100644
 3--- a/init.lua
 4+++ b/init.lua
 5@@ -24,6 +24,7 @@     "nvim-lua/plenary.nvim",                        -- base lib
 6     "nvim-telescope/telescope.nvim",                -- telescope
 7     "nvim-telescope/telescope-file-browser.nvim",   -- telescope file browser
 8     "TimUntersberger/neogit",                       -- magit
 9+    "f-person/git-blame.nvim",                           -- more git info
10     "echasnovski/mini.nvim",                        -- provides many things
11     "mhartington/formatter.nvim",                   -- provider formatter
12     "mfussenegger/nvim-lint",                       -- general linter
13diff --git a/lua/gabrielgio/lazy.lua b/lua/gabrielgio/lazy.lua
14index 2179cb8b6c47616fd3f114337dbaee021d88571b..42ab56730214e434fbf8c2d0bbb1b188f63d314b 100644
15--- a/lua/gabrielgio/lazy.lua
16+++ b/lua/gabrielgio/lazy.lua
17@@ -1,35 +1,35 @@
18 -- this file is an amalgamation of configurations that don't have its own
19 -- config file and will be lazily loaded
20+require('gitblame').setup()
21 require('neogit').setup()
22 require('formatter').setup()
23 require("mason").setup()
24 require("mason-lspconfig").setup {
25     ensure_installed = {
26-        "gopls",
27-        "zls",
28-        "lua_ls",
29-        "rust_analyzer",
30---      "clangd", not working on alpine
31         "cssls",
32-        "html",
33         "emmet_ls",
34+        "gopls",
35+        "html",
36+        "lua_ls",
37         "pylsp",
38-        "zls",
39-        "tsserver"
40+        "rust_analyzer",
41+        "tsserver",
42+        "zls"
43+--      "clangd" not working on alpine
44     },
45 }
46 
47 local lint = require('lint')
48 
49 lint.linters_by_ft = {
50-  markdown = {'vale'},
51-  go = {"golangcilint"},
52-  lua = {"luacheck"},
53+    go = {"golangcilint"},
54+    lua = {"luacheck"},
55+    javascript  = {"prettier"},
56 }
57 
58 vim.api.nvim_create_autocmd({ "BufWritePost" }, {
59-  callback = function()
60-    lint.try_lint()
61-  end,
62+    callback = function()
63+        lint.try_lint()
64+    end,
65 })
66