summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-20 12:25:18 -0500
committerpommicket <pommicket@gmail.com>2022-12-20 12:25:18 -0500
commitcaf81c5a2c8b9432792c652edd0dcf1f64f7a4f1 (patch)
treedc1d327aff19b59b7fc636cce42d588e94c168ef /lsp.h
parent8deb7afed44d7be52cb450c3177ecc8e63fd46eb (diff)
start didChange
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lsp.h b/lsp.h
index 170d883..20fdf2d 100644
--- a/lsp.h
+++ b/lsp.h
@@ -1,5 +1,4 @@
// @TODO:
-// - make a real JSON output library
// - use document IDs instead of strings (also lets us use real document version numbers)
// - document this and lsp.c.
// - maximum queue size for requests/responses just in case?
@@ -48,7 +47,7 @@ typedef struct {
// buffer language
Language language;
// freed by lsp_request_free
- char *path;
+ char *document;
// freed by lsp_request_free
char *file_contents;
} LSPRequestDidOpen;