Skip to content

Commit 4fb7922

Browse files
authored
noslash (#991)
1 parent 22f2c74 commit 4fb7922

File tree

591 files changed

+23858
-399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

591 files changed

+23858
-399
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,5 @@ custom-gcl.hash
196196
!testdata/submoduleAccepted.txt
197197

198198
!NOTICE.txt
199+
200+
!internal/fourslash/_scripts/failingTests.txt

.vscode/launch.template.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@
4141
"-test.run",
4242
"TestSubmodule/${fileBasename}"
4343
]
44+
},
45+
{
46+
"name": "Launch fourslash test",
47+
"type": "go",
48+
"request": "launch",
49+
"mode": "test",
50+
"program": "${workspaceFolder}/internal/fourslash/gen/${fileBasename}"
4451
}
4552
]
4653
}

cmd/tsgo/lsp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ func runLSP(args []string) int {
4242
typingsLocation := getGlobalTypingsCacheLocation()
4343

4444
s := lsp.NewServer(&lsp.ServerOptions{
45-
In: os.Stdin,
46-
Out: os.Stdout,
45+
In: lsp.ToReader(os.Stdin),
46+
Out: lsp.ToWriter(os.Stdout),
4747
Err: os.Stderr,
4848
Cwd: core.Must(os.Getwd()),
4949
FS: fs,

0 commit comments

Comments
 (0)