nvim/lua/plugs/dev.lua
2024-01-20 00:48:15 +08:00

29 lines
718 B
Lua

return {
'lilydjwg/colorizer', -- 颜色识别
{
-- 类似postman的curl工具
"rest-nvim/rest.nvim",
dependencies = { { "nvim-lua/plenary.nvim" } },
config = function()
require("rest-nvim").setup({
--- Get the same options from Packer setup
})
end
},
{
-- go开发
"ray-x/go.nvim",
dependencies = { -- optional packages
"ray-x/guihua.lua",
"neovim/nvim-lspconfig",
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("go").setup()
end,
event = { "CmdlineEnter" },
ft = { "go", 'gomod' },
build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries
}
}