mirror of https://github.com/gabehf/nvim-conf.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.3 KiB
60 lines
1.3 KiB
return {
|
|
{
|
|
"stevearc/conform.nvim",
|
|
event = "BufWritePre", -- uncomment for format on save
|
|
config = function()
|
|
require "configs.conform"
|
|
end,
|
|
},
|
|
{
|
|
"ray-x/go.nvim",
|
|
lazy = false,
|
|
dependencies = { -- optional packages
|
|
-- "ray-x/guihua.lua",
|
|
"neovim/nvim-lspconfig",
|
|
"nvim-treesitter/nvim-treesitter",
|
|
},
|
|
config = function()
|
|
require "configs.go"
|
|
end,
|
|
event = { "CmdlineEnter" },
|
|
ft = { "go", "gomod", "gowork", "gotmpl" },
|
|
build = ':lua require("go.install").update_all_sync()', -- if you need to install/update all binaries
|
|
},
|
|
|
|
-- These are some examples, uncomment them if you want to see them work!
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
config = function()
|
|
require("nvchad.configs.lspconfig").defaults()
|
|
require "configs.lspconfig"
|
|
end,
|
|
},
|
|
|
|
{
|
|
"williamboman/mason.nvim",
|
|
opts = {
|
|
ensure_installed = {
|
|
"lua-language-server",
|
|
"stylua",
|
|
"html-lsp",
|
|
"css-lsp",
|
|
"prettier",
|
|
"gopls",
|
|
"goimports",
|
|
"golines",
|
|
"gofumpt",
|
|
},
|
|
},
|
|
},
|
|
-- {
|
|
-- "nvim-treesitter/nvim-treesitter",
|
|
-- opts = {
|
|
-- ensure_installed = {
|
|
-- "vim", "lua", "vimdoc",
|
|
-- "html", "css"
|
|
-- },
|
|
-- },
|
|
-- },
|
|
}
|