From f39645029351f410df79a0e34ff7aa63b99f423a Mon Sep 17 00:00:00 2001 From: Michele Campeotto Date: Mon, 24 Mar 2025 08:55:38 +0100 Subject: [PATCH] Don't send invalid signatureHelp activeParameter values. Leaving the arguments in place for when we implement the rest of the feature. --- src/fennel-ls/message.fnl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fennel-ls/message.fnl b/src/fennel-ls/message.fnl index 8419f95..5b36af8 100644 --- a/src/fennel-ls/message.fnl +++ b/src/fennel-ls/message.fnl @@ -91,10 +91,9 @@ LSP json objects." :kind ?kind :edit {:changes {uri (diagnostic.quickfix)}}})) -(λ symbol->signature-help [_server _file _call signature active-parameter] +(λ symbol->signature-help [_server _file _call signature _active-parameter] {:signatures [signature] - :activeSignature 0 - :activeParameter active-parameter}) + :activeSignature 0}) (λ multisym->range [server file ast n] (let [spl (utils.multi-sym-split ast)