require("zeroxzero-completion").setup({
model = "claude-haiku-4-5-20251001", -- model for completions
max_tokens = 256, -- max completion length
debounce_ms = 150, -- wait before requesting
max_prefix_lines = 100, -- context before cursor
max_suffix_lines = 50, -- context after cursor
cache_size = 64, -- LRU cache entries
disabled_filetypes = { -- skip these filetypes
TelescopePrompt = true,
NvimTree = true,
lazy = true,
mason = true,
help = true,
[""] = true,
},
keymaps = {
accept = "<Tab>", -- accept full completion
dismiss = "<C-]>", -- dismiss ghost text
accept_word = "<M-w>", -- accept first word
accept_line = "<M-l>", -- accept first line
toggle = "<M-Bslash>", -- toggle on/off (normal mode)
},
})