Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(copilot): add integration #803

Merged
merged 5 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lua/catppuccin/groups/integrations/copilot_vim.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
local M = {}

function M.get()
return {
CopilotSuggestion = { fg = C.subtext0 },
joshmedeski marked this conversation as resolved.
Show resolved Hide resolved
CopilotAnnotation = { fg = C.blue },
}
end
sgoudham marked this conversation as resolved.
Show resolved Hide resolved

return M
1 change: 1 addition & 0 deletions lua/catppuccin/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ local M = {
integrations = {
alpha = true,
cmp = true,
copilot_vim = true,
joshmedeski marked this conversation as resolved.
Show resolved Hide resolved
dap = true,
dap_ui = true,
dashboard = true,
Expand Down
3 changes: 2 additions & 1 deletion lua/catppuccin/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,12 @@
---@field barbecue CtpIntegrationBarbecue | boolean?
---@field beacon boolean?
---@field blink_cmp boolean?
---@field colorful_winsep CtpIntegrationColorfulWinsep | boolean?
---@field cmp boolean?
-- `coc.nvim` links to `native_lsp` highlight groups, so you can use
-- `native_lsp.virtual_text` and `native_lsp.underlines` to style diagnostics.
---@field coc_nvim boolean?
---@field colorful_winsep CtpIntegrationColorfulWinsep | boolean?
---@field copilot_vim boolean?
-- ```lua
-- local sign = vim.fn.sign_define
--
Expand Down