Skip to content

Commit 730729b

Browse files
committed
f
1 parent b5d2e78 commit 730729b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/langs/typescript/typescript.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function setup({ document }) {
1212
const lspc = createLSPClient({
1313
lang: getLanguage("typescript"),
1414
root_uri: file.get_parent().get_uri(),
15-
quiet: true,
15+
quiet: false,
1616
});
1717
lspc.buffer = buffer;
1818
lspc.uri = file.get_uri();
@@ -48,9 +48,10 @@ export async function setupTypeScriptProject(destination, document) {
4848
Gio.FileCopyFlags.NONE,
4949
);
5050

51+
// FIXME: hangs
5152
// Notify the language server that the tsconfig file was created
5253
// to initialized diagnostics and type checkings
53-
await document.lspc.notify("workspace/didCreateFile", {
54-
files: [{ uri: destination_file.get_uri() }],
55-
});
54+
// await document.lspc.notify("workspace/didCreateFile", {
55+
// files: [{ uri: destination_file.get_uri() }],
56+
// });
5657
}

0 commit comments

Comments
 (0)