diff --git a/autoload/codeium/server.vim b/autoload/codeium/server.vim index be799319..a841a9e6 100644 --- a/autoload/codeium/server.vim +++ b/autoload/codeium/server.vim @@ -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(':h:h:h') let s:bin = v:null @@ -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 @@ -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 diff --git a/doc/codeium.txt b/doc/codeium.txt index 8c828ed3..4a30ebfd 100644 --- a/doc/codeium.txt +++ b/doc/codeium.txt @@ -113,11 +113,11 @@ 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 = { @@ -125,7 +125,6 @@ g:codeium_port_config 'chat_client': } < - *g:codeium_virtual_text_priority* g:codeium_virtual_text_priority The priority used for Codeium's virtual text completions