[fix] format
This commit is contained in:
parent
073bcc3d3d
commit
433a2c54a7
1 changed files with 4 additions and 3 deletions
|
@ -53,13 +53,14 @@ as map(*)?
|
|||
{
|
||||
let $uri:=$json?params?textDocument?uri
|
||||
let $text:=docs:get(ws:id(), $uri, "textDocument")?text
|
||||
let $fmt:="formatted to do"
|
||||
return map{
|
||||
"jsonrpc": "2.0",
|
||||
"id": $json?id,
|
||||
"result":{
|
||||
"result":[{
|
||||
"range":pos:full-range($text),
|
||||
"newText":"formated"
|
||||
}
|
||||
"newText": $fmt
|
||||
}]
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue