diff options
author | pommicket <pommicket@gmail.com> | 2022-12-29 18:51:49 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-29 18:51:49 -0500 |
commit | 43eea17544e4bed4384c76d3d95be2c0688b9e27 (patch) | |
tree | 5735d69c3673b03f503f70f4c672a9f5dd3b6e48 /lsp-write.c | |
parent | d77782564bf0a090a4e7fa4f4c4bb685383275dc (diff) |
little things
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); |