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.
- Host: GitHub
- URL: https://github.com/sunn4room/nvim-cmp-codegeex
- Owner: sunn4room
- Created: 2024-08-29T08:46:37.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-19T02:59:52.000Z (5 months ago)
- Last Synced: 2025-01-31T01:07:20.644Z (4 months ago)
- Topics: codegeex, neovim, nvim-cmp
- Language: Lua
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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` |