diff options
author | pommicket <pommicket@gmail.com> | 2022-12-31 15:34:24 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-31 15:34:24 -0500 |
commit | 992315198b510e210a7791f21953bf0e27786108 (patch) | |
tree | 079286001f5ce96f04c507293316bb2dbbee2270 /lsp-parse.c | |
parent | 2a9f03edf21f8d6d0392a74eb0a6b2507c261a55 (diff) |
show line containing usage
Diffstat (limited to 'lsp-parse.c')
-rw-r--r-- | lsp-parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp-parse.c b/lsp-parse.c index cf590d3..5a1da29 100644 --- a/lsp-parse.c +++ b/lsp-parse.c @@ -799,6 +799,8 @@ static bool parse_highlight(LSP *lsp, const JSON *json, LSPResponse *response) { } static int references_location_cmp(void *context, const void *av, const void *bv) { + // IMPORTANT: don't change this comparison function. + // it matters in ide-usages.c LSP *lsp = context; const LSPLocation *a = av, *b = bv; const char *a_path = lsp_document_path(lsp, a->document); |