[fix] format

This commit is contained in:
Andy Bunce 2025-08-28 22:11:51 +01:00
parent 073bcc3d3d
commit 433a2c54a7

View file

@ -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
}]
}
};