summaryrefslogtreecommitdiff
path: root/lsp-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsp-parse.c')
-rw-r--r--lsp-parse.c2
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);