Skip to content

Commit

Permalink
feat: spellcheck untitled docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Apr 30, 2023
1 parent 71d2a85 commit fbcba05
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ async function createClient(

const clientOptions: LanguageClientOptions = {
// Register the server for all documents
// We use scheme = file to ignore Untitled documents because that generates
// too much request chatter
documentSelector: [{ scheme: "file", pattern: "**" }],
documentSelector: [
{ scheme: "untitled" },
{ scheme: "file", pattern: "**" },
],
outputChannel: outputChannel,
traceOutputChannel: outputChannel,
};
Expand Down

0 comments on commit fbcba05

Please sign in to comment.