diff options
| -rw-r--r-- | init.lua | 1 | ||||
| -rw-r--r-- | lua/gabrielgio/lazy.lua | 28 | 
2 files changed, 15 insertions, 14 deletions
@@ -24,6 +24,7 @@ local pkgs = {      "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 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,  })  | 
