diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 12:22:14 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 12:22:14 -0500 |
commit | 9844c679b4a4fb42c97f80e5653dea7c73ff0edf (patch) | |
tree | a81c31c76eff99356406cbd7ae75d28b7ff43c05 /ide-hover.c | |
parent | 02ee27233b43eba648e5a9060fe269df963b9844 (diff) |
restructure ide-*.c
Diffstat (limited to 'ide-hover.c')
-rw-r--r-- | ide-hover.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ide-hover.c b/ide-hover.c index 1d6ccbc..ecca8d8 100644 --- a/ide-hover.c +++ b/ide-hover.c @@ -1,5 +1,7 @@ // LSP hover information (textDocument/hover request) +#include "ted.h" + void hover_close(Ted *ted) { Hover *hover = &ted->hover; hover->open = false; @@ -22,7 +24,7 @@ static bool get_hover_position(Ted *ted, LSPDocumentPosition *pos, TextBuffer ** return false; } -void hover_send_request(Ted *ted) { +static void hover_send_request(Ted *ted) { Hover *hover = &ted->hover; LSPRequest request = {.type = LSP_REQUEST_HOVER}; LSPRequestHover *h = &request.data.hover; |