summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/buffer.c b/buffer.c
index 6e32770..70483a8 100644
--- a/buffer.c
+++ b/buffer.c
@@ -1453,6 +1453,12 @@ LSPDocumentPosition buffer_pos_to_lsp_document_position(TextBuffer *buffer, Buff
return docpos;
}
+BufferPos buffer_pos_from_lsp(TextBuffer *buffer, LSPPosition lsp_pos) {
+ BufferPos pos = {.line = lsp_pos.line};
+ abort(); // @TODO
+ return pos;
+}
+
LSPPosition buffer_cursor_pos_as_lsp_position(TextBuffer *buffer) {
return buffer_pos_to_lsp_position(buffer, buffer->cursor_pos);
}