Skip to content

Instantly share code, notes, and snippets.

View ravitemer's full-sized avatar

ravitemer

View GitHub Profile
@ravitemer
ravitemer / minimal(avante+cc).lua
Last active June 5, 2025 14:46
minimal config file for mcphub.nvim with avante and codecompanion
---@diagnostic disable: missing-fields
--[[
NOTE: Set the config path to enable the copilot adapter to work.
It will search the following paths for a token:
- "$CODECOMPANION_TOKEN_PATH/github-copilot/hosts.json"
- "$CODECOMPANION_TOKEN_PATH/github-copilot/apps.json"
--]]
vim.env["CODECOMPANION_TOKEN_PATH"] = vim.fn.expand("~/.config")
@ravitemer
ravitemer / minimal(avante+cc+snacks).lua
Last active March 21, 2025 05:11
minimal config file with snacks for mcphub.nvim plugin
---@diagnostic disable: missing-fields
--[[
NOTE: Set the config path to enable the copilot adapter to work.
It will search the following paths for a token:
- "$CODECOMPANION_TOKEN_PATH/github-copilot/hosts.json"
- "$CODECOMPANION_TOKEN_PATH/github-copilot/apps.json"
--]]
vim.env["CODECOMPANION_TOKEN_PATH"] = vim.fn.expand("~/.config")