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

fix(codeium-nvim): resolve loading issues for nvim-cmp and lspkind.nvim #1082

Merged
merged 2 commits into from
Jul 8, 2024
Merged
Changes from 1 commit
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
46 changes: 23 additions & 23 deletions lua/astrocommunity/completion/codeium-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,28 +36,28 @@ return {
end,
},
},
{
"hrsh7th/nvim-cmp",
optional = true,
dependencies = { "Exafunction/codeium.nvim" },
opts = function(_, opts)
-- Inject codeium into cmp sources, with high priority
table.insert(opts.sources, 1, {
name = "codeium",
group_index = 1,
priority = 10000,
})
end,
},
{
"onsails/lspkind.nvim",
optional = true,
-- Adds icon for codeium using lspkind
opts = function(_, opts)
opts.symbol_map = {
Codeium = require("astroui").get_icon("Codeium", 1, true),
}
end,
},
},
{
"hrsh7th/nvim-cmp",
optional = true,
dependencies = { "Exafunction/codeium.nvim" },
mehalter marked this conversation as resolved.
Show resolved Hide resolved
opts = function(_, opts)
-- Inject codeium into cmp sources, with high priority
table.insert(opts.sources, 1, {
name = "codeium",
group_index = 1,
priority = 10000,
})
end,
},
{
"onsails/lspkind.nvim",
optional = true,
-- Adds icon for codeium using lspkind
opts = function(_, opts)
opts.symbol_map = {
Codeium = require("astroui").get_icon("Codeium", 1, true),
}
mehalter marked this conversation as resolved.
Show resolved Hide resolved
end,
},
}
Loading