Skip to content

Commit

Permalink
Project import generated by Copybara. (#460)
Browse files Browse the repository at this point in the history
* Project import generated by Copybara.

GitOrigin-RevId: 6c901dfcb013215ddf7041aba8e2bd0c4b54e829

* reverts

---------

Co-authored-by: Copybara Bot <[email protected]>
  • Loading branch information
fortenforge and Copybara Bot authored Oct 4, 2024
1 parent 5644ac5 commit b9be247
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 5 additions & 5 deletions autoload/codeium/server.vim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let s:language_server_version = '1.14.11'
let s:language_server_sha = '071907d082576067b0c7a5f2f7659958865d751e'
let s:language_server_version = '1.20.8'
let s:language_server_sha = '37f12b83df389802b7d4e293b3e1a986aca289c0'
let s:root = expand('<sfile>:h:h:h')
let s:bin = v:null

Expand Down Expand Up @@ -186,8 +186,8 @@ function! codeium#server#Start(...) abort
if has_key(config, 'portal_url') && !empty(config.portal_url)
let response = system('curl -s ' . config.portal_url . '/api/version')
if v:shell_error != 0
let s:language_server_version = '1.14.11'
let s:language_server_sha = '071907d082576067b0c7a5f2f7659958865d751e'
let s:language_server_version = response
let s:language_server_sha = 'enterprise-' . s:language_server_version
endif
endif

Expand Down Expand Up @@ -276,7 +276,7 @@ function! s:ActuallyStart() abort
let args += ['--portal_url', get(config, 'portal_url', 'https://codeium.example.com')]
endif
" If either of these is set, only one vim window (with any number of buffers) will work with Codeium.
" Opening other vim windows won't be able to use Codeium features.
" Opening other vim windows won't be able to use Codeium features.
if has_key(chat_ports, 'web_server') && !empty(chat_ports.web_server)
let args += ['--chat_web_server_port', chat_ports.web_server]
endif
Expand Down
9 changes: 4 additions & 5 deletions doc/codeium.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,18 @@ g:codeium_arch Manually set the host architecture, accepted values
<
*g:codeium_port_config*
g:codeium_port_config
Set the ports the chat client and web server use.
Set the ports the chat client and web server use.
Pass in web_server and chat_client fields to the mapping to set.
Please note that if either of the ports are specified, only one
window will work with codeium.
That window can have as many buffers within it, but any other
Please note that if either of the ports are specified, only one
window will work with codeium.
That window can have as many buffers within it, but any other
opened windows will not be able to use Codeium's features.
>
let g:codeium_port_config = {
'web_server': <Your web server port>,
'chat_client': <Your chat client port>
}
<

*g:codeium_virtual_text_priority*
g:codeium_virtual_text_priority
The priority used for Codeium's virtual text completions
Expand Down

0 comments on commit b9be247

Please sign in to comment.