From c6b22147374448993d4682775e5106b5a6d9e1cd Mon Sep 17 00:00:00 2001 From: Hakan Nilsson Date: Wed, 25 Sep 2024 23:36:45 +0200 Subject: [PATCH] fix attributes test --- apps/els_lsp/test/els_completion_SUITE.erl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/els_lsp/test/els_completion_SUITE.erl b/apps/els_lsp/test/els_completion_SUITE.erl index 05d9295e..607aad51 100644 --- a/apps/els_lsp/test/els_completion_SUITE.erl +++ b/apps/els_lsp/test/els_completion_SUITE.erl @@ -233,6 +233,12 @@ attributes(Config) -> insertTextFormat => ?INSERT_TEXT_FORMAT_SNIPPET, kind => ?COMPLETION_ITEM_KIND_SNIPPET, label => <<"-spec">> + }, + #{ + insertText => <<"nifs([${1:}]).">>, + insertTextFormat => ?INSERT_TEXT_FORMAT_SNIPPET, + kind => ?COMPLETION_ITEM_KIND_SNIPPET, + label => <<"-nifs().">> } ] ++ docs_attributes(), #{result := Completions} =