Inital work on the lsp
This commit is contained in:
13
lsp_run.ts
Normal file
13
lsp_run.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user