diff --git a/lua/codeium/source.lua b/lua/codeium/source.lua index 4d0a0c2..dd3784e 100644 --- a/lua/codeium/source.lua +++ b/lua/codeium/source.lua @@ -84,7 +84,7 @@ local function buf_to_codeium(bufnr) language = language, text = text, line_ending = line_ending, - absolute_path = vim.api.nvim_buf_get_name(bufnr), + absolute_uri = 'file://' .. vim.api.nvim_buf_get_name(bufnr), } end @@ -186,8 +186,8 @@ function Source:complete(params, callback) editor_language = filetype, language = language, curson_position = { row = cursor.row, col = cursor.col }, - absolute_path = vim.api.nvim_buf_get_name(bufnr), - relative_path = util.get_relative_path(bufnr), + absolute_uri = 'file://' .. vim.api.nvim_buf_get_name(bufnr), + workspace_uri = 'file://' .. util.get_relative_path(bufnr), line_ending = line_ending, cursor_offset = cursor_offset, }, diff --git a/lua/codeium/versions.json b/lua/codeium/versions.json index 5744b04..6b7fa91 100644 --- a/lua/codeium/versions.json +++ b/lua/codeium/versions.json @@ -1,6 +1,6 @@ { - "version": "1.8.80", - "stamp": "ea9a89028334feda7d7ab8900d5f1d58e2f7c361", + "version": "1.16.18", + "stamp": "ca80eb7f62095935075d58a4fb83a011f628e365", "hashes": { "x86_64-linux": "sha256-0LZKNjDj2MXsGJRwkeuk9KEHRtU2Tgdccw1o0BTR5/M=", "aarch64-linux": "sha256-VFrDFJ9VOjAX03R9ztAFwqjYudYIZnwGXa1sbGbQ1j4=",