An open API service indexing awesome lists of open source software.

https://github.com/sunn4room/nvim-cmp-codegeex

nvim-cmp source for CodeGeeX.
https://github.com/sunn4room/nvim-cmp-codegeex

codegeex neovim nvim-cmp

Last synced: 4 months ago
JSON representation

nvim-cmp source for CodeGeeX.

Awesome Lists containing this project

README

        

# nvim-cmp-codegeex

> Require nvim-0.10 with new feature `vim.system`

nvim-cmp source for CodeGeeX.

```lua
-- lazy.nvim spec
{
"sunn4room/nvim-cmp-codegeex",
opts = {
apikey = "xxx", -- the api key of codegeex.
apikey_file = "/path/to/apikey/file", -- the api key file of codegeex.
range = 500, -- the range to current line for completion context.
delay = 500, -- the complete delay for performance.
},
}
```

Codegeex source is not available by default. You should enable codegeex source with `vim.g.use_codegeex = true`.

| nvim-cmp item | value |
| ------------- | --------------------- |
| source | `codegeex` |
| kind | `CodeGeeX` |
| highlight | `CmpItemKindCodeGeeX` |