Skip to content

Commit

Permalink
Cleanup after Windows debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Nov 3, 2024
1 parent ca803ff commit c8554e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
3 changes: 1 addition & 2 deletions extension/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ export function createLanguageClientOptions(
},
diagnosticCollectionName: 'sass',
outputChannel: output,
// revealOutputChannelOn: RevealOutputChannelOn.Never,
revealOutputChannelOn: RevealOutputChannelOn.Warn,
revealOutputChannelOn: RevealOutputChannelOn.Never,
};

return clientOptions;
Expand Down
5 changes: 2 additions & 3 deletions pkgs/sass_language_server/lib/src/language_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,8 @@ class LanguageServer {
clientCapabilities: _clientCapabilities, fs: fileSystemProvider);

var serverCapabilities = ServerCapabilities(
documentLinkProvider: DocumentLinkOptions(
resolveProvider: false, workDoneProgress: false),
textDocumentSync: Either2.t1(TextDocumentSyncKind.Full),
documentLinkProvider: DocumentLinkOptions(resolveProvider: false),
textDocumentSync: Either2.t1(TextDocumentSyncKind.Incremental),
);

var result = InitializeResult(capabilities: serverCapabilities);
Expand Down
2 changes: 1 addition & 1 deletion pkgs/sass_language_server/lib/src/utils/uri.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Uri filePathToUri(String path) {
var safePath = path.startsWith('/') ? path : '/$path';
var uri = Uri.parse('file://${safePath.toLowerCase()}');
var uri = Uri.parse('file://$safePath');
return uri;
}
9 changes: 0 additions & 9 deletions pkgs/sass_language_server/test/workspace_test.dart

This file was deleted.

0 comments on commit c8554e4

Please sign in to comment.