latex-lsp/lsp_run.ts

14 lines
221 B
TypeScript
Raw Normal View History

2023-12-25 22:44:16 +00:00
import { error, handleData, log } from "./lsp";
console.log = log;
process.stdin.resume();
process.stdin.on('data', function(data) {
try {
handleData(data);
} catch (e) {
error("TRY GOT ERROR:" + e)
}
})