diff options
author | pommicket <pommicket@gmail.com> | 2022-12-18 23:02:53 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-18 23:02:53 -0500 |
commit | 70d19dbf9fc9bcbbcd0208b4b6e42017fcc5e826 (patch) | |
tree | 23a8a00ccfc2881399def21d97b446ef2286c68e /buffer.c | |
parent | 54a558c41366579ae35ca8cbfae097481bb36b9b (diff) |
a bunch of brekaing changes
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2132,8 +2132,8 @@ Status buffer_load_file(TextBuffer *buffer, char const *filename) { LSP *lsp = buffer_lsp(buffer); if (lsp) { // send didOpen - LSPRequest request = {.type = LSP_OPEN}; - LSPRequestOpen *open = &request.data.open; + LSPRequest request = {.type = LSP_REQUEST_DID_OPEN}; + LSPRequestDidOpen *open = &request.data.open; open->file_contents = (char *)file_contents; open->path = str_dup(filename); open->language = buffer_language(buffer); |