diff --git a/webapp/static/clients/codemirror/script.js b/webapp/static/clients/codemirror/script.js index ccdc52d..c5e1bd3 100644 --- a/webapp/static/clients/codemirror/script.js +++ b/webapp/static/clients/codemirror/script.js @@ -47,7 +47,6 @@ $("lint").onclick = async e => { $("sync").onclick = e => { client.sync(); console.log("XXXsync"); }; $("format").onclick = e => { - client.sync(); console.log("FMT", lsp.formatDocument(view)); }; @@ -65,8 +64,8 @@ $("load").onchange = e => { insert: t } }) - client.sync(); - console.log("SYNC"); + //client.sync(); + //console.log("SYNC"); }); $("load").value = ""; };