[mod] completions
This commit is contained in:
parent
732a1c98e3
commit
a2fa9cb062
4 changed files with 20 additions and 3 deletions
7
test/completion.xq
Normal file
7
test/completion.xq
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
import module namespace comp = 'lsp-completions' at "../webapp/lsp/providers/completions.xqm";
|
||||
declare variable $src:="sample.docs/parse-pdfbox.xml";
|
||||
declare variable $parse:=doc($src)/*;
|
||||
|
||||
let $context:= {"triggerCharacter":":","triggerKind":2.0e0}
|
||||
return comp:list($context )
|
||||
|
|
@ -3,4 +3,4 @@ declare variable $src:="sample.docs/parse-pdfbox.xml";
|
|||
declare variable $parse:=doc($src)/*;
|
||||
|
||||
|
||||
syms:list($parse )
|
||||
syms:list($parse,string($parse ))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue