diff options
author | pommicket <pommicket@gmail.com> | 2022-12-29 12:32:26 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-29 12:32:26 -0500 |
commit | f1e2e8382cc09bacb5da9e3c9463fea983a9e146 (patch) | |
tree | 1197682a7c1c01cc0067ccf3a6fe55bf0eb17ab8 /buffer.c | |
parent | 7dca1a04452ca6caf6e230839c48f0f9dd9d67b8 (diff) |
more hover
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); } |