mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-24 15:38:06 +01:00
neovim: update config to ensure tools are installed
This commit is contained in:
parent
ab9f724c28
commit
36d8ad6e5d
1 changed files with 16 additions and 1 deletions
|
@ -1,9 +1,24 @@
|
|||
local plugins = {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter", -- grammars
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"go",
|
||||
"lua",
|
||||
"python",
|
||||
},
|
||||
auto_install = true,
|
||||
},
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim", -- auto install tools
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"lua-language-server",
|
||||
"gopls",
|
||||
"gofumpt",
|
||||
"golangci-lint",
|
||||
"goimports",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -40,7 +55,7 @@ local plugins = {
|
|||
end,
|
||||
},
|
||||
{
|
||||
"jose-elias-alvarez/null-ls.nvim", -- custom format on save
|
||||
"nvimtools/none-ls.nvim", -- custom format on save
|
||||
ft = "go",
|
||||
opts = function()
|
||||
return require "custom.configs.null-ls"
|
||||
|
|
Loading…
Reference in a new issue