Skip to content

Commit b895ee9

Browse files
committed
Support URL schemes other than file or untitled
1 parent 5da9f3d commit b895ee9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/extension.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ export function activate(context: ExtensionContext) {
4343
let clientOptions: LanguageClientOptions = {
4444
// Register the server for on disk and newly created YAML documents
4545
documentSelector: [
46-
{ language: 'yaml', scheme: 'file' },
47-
{ language: 'yaml', scheme: 'untitled' }
46+
{ language: 'yaml' }
4847
],
4948
synchronize: {
5049
// Synchronize these setting sections with the server

0 commit comments

Comments
 (0)