diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 22:07:03 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 22:07:03 -0500 |
commit | 94ce74b998ad019e2307e4b69f006127dba775e2 (patch) | |
tree | eee0d731cd5897f3825fb7892e5f1f670eef0a2c /main.c | |
parent | f69275faee4cd3045389a98fefefb0c683757a5c (diff) |
document highlights!
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,9 @@ /* @TODO: +- clip highlight to buffer rect +- different highlight colors +- highlight-enabled, and highlight-auto - more LSP stuff: - - document highlight (textDocument/documentHighlight) - find usages (textDocument/references) - handle multiple symbols with same name in go-to-definition menu - :go-to-cursor-definition @@ -910,6 +912,7 @@ int main(int argc, char **argv) { signature_help_process_lsp_response(ted, r); hover_process_lsp_response(ted, r); definitions_process_lsp_response(ted, lsp, r); + highlights_process_lsp_response(ted, r); } break; } lsp_message_free(&message); @@ -1017,6 +1020,7 @@ int main(int argc, char **argv) { signature_help_frame(ted); hover_frame(ted, frame_dt); definitions_frame(ted); + highlights_frame(ted); } else { autocomplete_close(ted); text_utf8_anchored(font, "Press Ctrl+O to open a file or Ctrl+N to create a new one.", |