summaryrefslogtreecommitdiff
path: root/autocomplete.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-27 18:28:56 -0500
committerpommicket <pommicket@gmail.com>2022-12-27 18:28:56 -0500
commite112a90ff73f7f407ed2251f905565713c237bc1 (patch)
treefd2cca33161c807cbbf8b29d9a49e778bee5aca8 /autocomplete.c
parent1eaef3694d54d3d92f0b43304c72f5148b4e5db9 (diff)
start signature help
Diffstat (limited to 'autocomplete.c')
-rw-r--r--autocomplete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/autocomplete.c b/autocomplete.c
index 2955183..5045a3d 100644
--- a/autocomplete.c
+++ b/autocomplete.c
@@ -121,7 +121,7 @@ static void autocomplete_send_completion_request(Ted *ted, TextBuffer *buffer, B
request.data.completion = (LSPRequestCompletion) {
.position = {
.document = lsp_document_id(lsp, buffer->filename),
- .pos = buffer_pos_to_lsp(buffer, pos)
+ .pos = buffer_pos_to_lsp_position(buffer, pos)
},
.context = {
.trigger_kind = lsp_trigger,