Add TypeScript server initialization config to LSP server
🤖 Generated with [OpenCode](https://opencode.ai) Co-Authored-By: OpenCode <noreply@opencode.ai>pull/81/head
parent
a1cc8f6cdb
commit
fa3253d1b6
|
|
@ -27,6 +27,11 @@ export namespace LSPServer {
|
|||
".mts",
|
||||
".cts",
|
||||
],
|
||||
initialization: {
|
||||
tsserver: {
|
||||
path: require.resolve("typescript/lib/tsserver.js"),
|
||||
},
|
||||
},
|
||||
async spawn() {
|
||||
const root =
|
||||
process.argv0 !== "bun"
|
||||
|
|
|
|||
Loading…
Reference in New Issue