38 lines
706 B
Lua
38 lines
706 B
Lua
|
local plugins = {
|
||
|
{
|
||
|
"neovim/nvim-lspconfig",
|
||
|
config = function ()
|
||
|
require "plugins.configs.lspconfig"
|
||
|
require "custom.configs.lspconfig"
|
||
|
end,
|
||
|
},
|
||
|
{
|
||
|
"williamboman/mason.nvim",
|
||
|
opts = {
|
||
|
ensure_installed = {
|
||
|
"gopls",
|
||
|
"pyright",
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"nvimtools/none-ls.nvim",
|
||
|
ft = "go",
|
||
|
opts = function ()
|
||
|
return require "custom.configs.none-ls"
|
||
|
end,
|
||
|
},
|
||
|
{
|
||
|
"olexsmir/gopher.nvim",
|
||
|
ft = "go",
|
||
|
config = function (_, opts)
|
||
|
require("gopher").setup(opts)
|
||
|
require("core.utils").load_mappings("gopher")
|
||
|
end,
|
||
|
build = function ()
|
||
|
vim.cmd [[silent! GoInstallDeps]]
|
||
|
end,
|
||
|
},
|
||
|
}
|
||
|
return plugins
|