summaryrefslogtreecommitdiff
path: root/ide-hover.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-05 15:08:45 -0400
committerpommicket <pommicket@gmail.com>2023-08-05 15:08:45 -0400
commit4b10cb8f0892a720bd8d7f61b39f5faffc43107c (patch)
tree0c28195572231c93c11fa3d6b625ea0dc0328ce9 /ide-hover.c
parentb65943698a241624973f3ab54530bb5d5884cff2 (diff)
internalize signature help, usages
Diffstat (limited to 'ide-hover.c')
-rw-r--r--ide-hover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ide-hover.c b/ide-hover.c
index 4c6c5f2..d0f99c1 100644
--- a/ide-hover.c
+++ b/ide-hover.c
@@ -38,7 +38,7 @@ static void hover_send_request(Ted *ted) {
}
}
-void hover_process_lsp_response(Ted *ted, LSPResponse *response) {
+void hover_process_lsp_response(Ted *ted, const LSPResponse *response) {
if (!response) return;
if (response->request.type != LSP_REQUEST_HOVER) return;
@@ -49,7 +49,7 @@ void hover_process_lsp_response(Ted *ted, LSPResponse *response) {
}
hover->last_request.id = 0;
- LSPResponseHover *hover_response = &response->data.hover;
+ const LSPResponseHover *hover_response = &response->data.hover;
TextBuffer *buffer=0;
LSPDocumentPosition pos={0};