updating plugins

This commit is contained in:
2026-01-22 22:34:34 -05:00
parent 2f0ed73d53
commit 8803de9fac
12 changed files with 107 additions and 232 deletions

View File

@@ -47,15 +47,8 @@ return {
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
["<C-e>"] = cmp.mapping.abort(), -- close completion window
["<CR>"] = cmp.mapping.confirm({ select = false }),
-- Tab: codetyper suggestion > cmp selection > snippet jump > fallback
-- Tab: cmp selection > snippet jump > fallback
["<Tab>"] = cmp.mapping(function(fallback)
-- Check for codetyper ghost text suggestion first
local ok, suggestion = pcall(require, "codetyper.suggestion")
if ok and suggestion.is_visible() then
suggestion.accept()
return
end
-- Then cmp menu
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_jumpable() then
@@ -74,7 +67,6 @@ return {
end, { "i", "s" }),
}),
-- sources for autocompletion
-- Note: codetyper uses ghost text suggestions (Copilot-style), not cmp source
sources = cmp.config.sources({
{ name = "nvim_lsp", priority = 1000 },
{ name = "luasnip", priority = 750 }, -- snippets