Skip to content

Commit 9bfb86e

Browse files
authored
protocol fix for zbirenbaum#24 (zbirenbaum#25)
1 parent 9d39782 commit 9bfb86e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/copilot/util.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ M.get_completion_params = function()
3838
indentsize = vim.bo.shiftwidth,
3939
position = format_pos(),
4040
path = vim.api.nvim_buf_get_name(0),
41+
uri = 'file://' .. vim.api.nvim_buf_get_name(0),
4142
},
4243
}
4344
return params

0 commit comments

Comments
 (0)