diff options
Diffstat (limited to 'lsp-write.c')
-rw-r--r-- | lsp-write.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lsp-write.c b/lsp-write.c index 7d8a0f1..9d7c2b1 100644 --- a/lsp-write.c +++ b/lsp-write.c @@ -432,6 +432,11 @@ static void write_request(LSP *lsp, LSPRequest *request) { write_arr_elem_string(o, "plaintext"); write_arr_end(o); write_obj_end(o); + + // definition capabilities + write_key_obj_start(o, "definition"); + // NOTE: LocationLink support doesn't seem useful to us right now. + write_obj_end(o); write_obj_end(o); write_key_obj_start(o, "workspace"); write_key_bool(o, "workspaceFolders", true); |