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 = {
|
local plugins = {
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter", -- grammars
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"go",
|
||||||
|
"lua",
|
||||||
|
"python",
|
||||||
|
},
|
||||||
|
auto_install = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim", -- auto install tools
|
"williamboman/mason.nvim", -- auto install tools
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
|
"lua-language-server",
|
||||||
"gopls",
|
"gopls",
|
||||||
|
"gofumpt",
|
||||||
|
"golangci-lint",
|
||||||
|
"goimports",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -40,7 +55,7 @@ local plugins = {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"jose-elias-alvarez/null-ls.nvim", -- custom format on save
|
"nvimtools/none-ls.nvim", -- custom format on save
|
||||||
ft = "go",
|
ft = "go",
|
||||||
opts = function()
|
opts = function()
|
||||||
return require "custom.configs.null-ls"
|
return require "custom.configs.null-ls"
|
||||||
|
|
Loading…
Reference in a new issue