Skip to content

Commit

Permalink
feat: support all languages for AI code review (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellebore authored Dec 3, 2024
1 parent 80ec4a1 commit 5c5eafd
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,9 @@ function createLangServer(): LanguageClient {
const clientOptions: LanguageClientOptions = {
diagnosticCollectionName: "sourcery",
documentSelector: [
{ language: "python", scheme: "file" },
{ language: "javascript", scheme: "file" },
{ language: "typescript", scheme: "file" },
{ language: "javascriptreact", scheme: "file" },
{ language: "typescriptreact", scheme: "file" },
{ language: "python", scheme: "untitled" },
{ language: "python", scheme: "vscode-notebook-cell" },
{ language: "yaml", pattern: "**/.sourcery.yaml" },
{ language: "yaml", pattern: "**/sourcery.yaml" },
{ language: "yaml", pattern: "**/.sourcery/rules/*.yaml" },
{ language: "*", scheme: "file" },
{ language: "*", scheme: "untitled" },
{ language: "*", scheme: "vscode-notebook-cell" },
],
synchronize: {
configurationSection: "sourcery",
Expand Down

0 comments on commit 5c5eafd

Please sign in to comment.