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.

80 lines
1.7 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-tree/nvim-tree.lua",
opts = {
renderer = {
icons = {
glyphs = {
git = { -- this is so stupid lmao
unstaged = "😴",
staged = "😎",
unmerged = "😈",
untracked = "😭",
renamed = "😶",
deleted = "😵",
},
},
},
},
},
},
-- "nvim-treesitter/nvim-treesitter",
-- opts = {
-- ensure_installed = {
-- "vim", "lua", "vimdoc",
-- "html", "css"
-- },
-- },
-- },
}