summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 00:09:07 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 00:09:07 -0500
commit43b8a9cb106d50265f5a6c1307e77d4642710f07 (patch)
tree88059ba86e957031047577622ecce52d72113e03 /buffer.c
parent20ac640a6d0b8eb6343709ae6ef921b41a31a726 (diff)
restructure buffer.c
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index e1c44e9..310d7f0 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1,3 +1,5 @@
+#include "ted.h"
+
// Text buffers - These store the contents of a file.
// NOTE: All text editing should be done through the two functions
// buffer_insert_text_at_pos and buffer_delete_chars_at_pos
@@ -3013,7 +3015,6 @@ void buffer_toggle_comment_selection(TextBuffer *buffer) {
}
-// make sure to call gl_geometry_draw after this
void buffer_highlight_lsp_range(TextBuffer *buffer, LSPRange range) {
Font *font = buffer_font(buffer);
const u32 *colors = buffer_settings(buffer)->colors;