summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-09 22:14:25 -0400
committerpommicket <pommicket@gmail.com>2023-09-09 22:14:25 -0400
commitc9c4b74376017b52a024705622c42d7d35c5bda0 (patch)
treeb6f4b504a2d2adcd47151d3bd88c0b8147140801 /lsp.h
parent16fbe87451b0ca3e8fa35fd04e0afbfab368ea65 (diff)
start incremental sync support
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lsp.h b/lsp.h
index 395f5ee..27f2706 100644
--- a/lsp.h
+++ b/lsp.h
@@ -588,6 +588,12 @@ typedef struct {
} LSPDocumentData;
typedef struct {
+ /// send didChange?
+ bool sync_support;
+ /// can didChange notifications have partial changes?
+ bool incremental_sync_support;
+ /// send didOpen/didClose?
+ bool open_close_support;
bool signature_help_support;
bool completion_support;
bool hover_support;
@@ -866,7 +872,7 @@ void lsp_write_quit(void);
/// print server-to-client communication
#define LSP_SHOW_S2C 0
/// print client-to-server communication
-#define LSP_SHOW_C2S 1
+#define LSP_SHOW_C2S 0
#endif // LSP_INTERNAL