summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
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;