summaryrefslogtreecommitdiff
path: root/ide-highlights.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 12:22:14 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 12:22:14 -0500
commit9844c679b4a4fb42c97f80e5653dea7c73ff0edf (patch)
treea81c31c76eff99356406cbd7ae75d28b7ff43c05 /ide-highlights.c
parent02ee27233b43eba648e5a9060fe269df963b9844 (diff)
restructure ide-*.c
Diffstat (limited to 'ide-highlights.c')
-rw-r--r--ide-highlights.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ide-highlights.c b/ide-highlights.c
index f53fb19..511a2fe 100644
--- a/ide-highlights.c
+++ b/ide-highlights.c
@@ -1,3 +1,5 @@
+#include "ted.h"
+
void highlights_close(Ted *ted) {
Highlights *hls = &ted->highlights;
arr_clear(hls->highlights);
@@ -6,7 +8,7 @@ void highlights_close(Ted *ted) {
hls->requested_position = (LSPDocumentPosition){0};
}
-void highlights_send_request(Ted *ted) {
+static void highlights_send_request(Ted *ted) {
TextBuffer *buffer = ted->active_buffer;
Highlights *hls = &ted->highlights;
if (!buffer) {