Skip to content

Commit d85a85c

Browse files
authored
Fix RefreshContextForIdeAction call to pass correct column (#458)
This fixes this error: E1002 15:51:49.912757 76190 interceptor.go:51] /exa.language_server_pb.LanguageServerService/RefreshContextForIdeAction: invalid position (row 258, col 258): character 258 out of range [0, 18] for line 258
1 parent 9ff8d32 commit d85a85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/codeium.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ endfunction
473473
function! codeium#RefreshContext() abort
474474
" current buffer is 1
475475
try
476-
call codeium#server#Request('RefreshContextForIdeAction', {'active_document': codeium#doc#GetDocument(1, line('.'), line('.'))})
476+
call codeium#server#Request('RefreshContextForIdeAction', {'active_document': codeium#doc#GetDocument(1, line('.'), col('.'))})
477477
catch
478478
call codeium#log#Exception()
479479
endtry

0 commit comments

Comments
 (0)