Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,21 @@ You can globaly enable or disable Codeium Completion with `:Codeium Toggle` comm

- `config_path`: the path to the config file, used to store the API key.
- `bin_path`: the path to the directory where the Windsurf server will be downloaded to.
- `manager_path`: the path to the language server manager directory. Defaults to a temporary directory. Set this if you want a persistent manager directory across restarts.
- `language_server_download_url`: the base URL for downloading the language server binary. Defaults to `"https://github.com"`.
- `api`: information about the API server to use:
- `host`: the hostname. Example: `"codeium.example.com"`. Required when using enterprise mode
- `port`: the port. Defaults to `443`
- `path`: the path prefix to the API server. Default for enterprise: `"/_route/api_server"`
- `portal_url`: the portal URL to use (for enterprise mode). Defaults to `host:port`
- `enterprise_mode`: enable enterprise mode
- `detect_proxy`: enable or disable proxy detection
- `quiet`: defaults to `false`. Set `true` to suppress completion error notifications (e.g. on server errors or invalid responses)
- `enable_chat`: enable chat functionality
- `enable_local_search`: defaults to `true`. Enable local search functionality in the language server
- `enable_index_service`: defaults to `true`. Enable the index service for workspace search
- `search_max_workspace_file_count`: defaults to `5000`. Maximum number of workspace files for search indexing (only used when `enable_index_service` is `true`)
- `file_watch_max_dir_count`: defaults to `50000`. Maximum number of directories the language server will watch for file changes
- `enable_cmp_source`: defaults to true. Set `false` to disable registering a `cmp` source
- `virtual_text`: configuration for showing completions in virtual text
- `enabled`: defaults to `false`. Set `true` to enable the virtual text feature
Expand Down
2 changes: 1 addition & 1 deletion lua/codeium/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function Server:start()
return
end

local manager_dir = config.manager_path
local manager_dir = config.options.manager_path
if not manager_dir then
manager_dir = io.tempdir("codeium/manager")
vim.fn.mkdir(manager_dir, "p")
Expand Down