[mod] msg

This commit is contained in:
Andy Bunce 2025-10-21 22:36:26 +01:00
parent dcfc390f1e
commit 21c0eae056
7 changed files with 21 additions and 16 deletions

View file

@ -18,7 +18,7 @@ declare function ctx:map($fn as element(fos:function))
{
$fn!map{
"label":string(@name),
"kind": 3,
"kind": $lspt:CompletionItemKindMap("Function"),
"detail":string($fn/fos:summary/*),
"documentation":`{ ctx:summary(.) } <a href="{ $ctx:doclink }{ string(@name) }" target="_blank">Spec</a>`
!lspt:MarkupContent("markdown",.)