From d19dbcd0b2351215567b8041c3eaf2176ee82f0b Mon Sep 17 00:00:00 2001 From: nighca Date: Tue, 21 Jan 2025 18:46:57 +0800 Subject: [PATCH] enable FunctionCompletion --- tools/spxls/internal/server/completion.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/spxls/internal/server/completion.go b/tools/spxls/internal/server/completion.go index f64b82b29..764d46e4f 100644 --- a/tools/spxls/internal/server/completion.go +++ b/tools/spxls/internal/server/completion.go @@ -376,8 +376,8 @@ func (ctx *completionContext) collectGeneral() error { ctx.itemSet.setSupportedKinds( VariableCompletion, ConstantCompletion, - // TODO: Add FunctionCompletion after implementing return type compatibility check. - // FunctionCompletion, + // TODO: Add return type compatibility check for FunctionCompletion. + FunctionCompletion, ) } ctx.itemSet.setExpectedTypes(ctx.expectedTypes)