[fix] completion detail always string
This commit is contained in:
parent
24082ad97b
commit
38a1909570
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ declare function ctx:map($fn as element(fos:function))
|
|||
$fn!map{
|
||||
"label":string(@name),
|
||||
"kind": 3,
|
||||
"detail":ctx:summary(.),
|
||||
"documentation":`<a href="{ $ctx:doclink }{ string(@name) }" target="_blank">spec</a>`
|
||||
"detail":string($fn/fos:summary/*),
|
||||
"documentation":`{ ctx:summary(.) } <a href="{ $ctx:doclink }{ string(@name) }" target="_blank">Spec</a>`
|
||||
!lspt:MarkupContent("markdown",.)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue