Skip to content

Commit 49fe465

Browse files
committed
Allow documents with any scheme
In particular, this allows the extension to operate on unsaved files, among other document types. Fixes #113
1 parent 6a4d993 commit 49fe465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function setupLSP() {
5353
// Options to control the language client
5454
const clientOptions: LanguageClientOptions = {
5555
// Register the server for Racket documents
56-
documentSelector: [{ scheme: "file", language: "racket" }],
56+
documentSelector: [{ language: "racket" }],
5757
// Fix URI encoding on Windows (#13)
5858
uriConverters: {
5959
code2Protocol: (uri) => uri.toString(true),

0 commit comments

Comments
 (0)