Skip to content

Commit

Permalink
Include Pug mode in language data
Browse files Browse the repository at this point in the history
FEATURE: Include data for legacy Pug mode.
  • Loading branch information
marijnh committed Apr 5, 2024
1 parent c7ba35e commit 8234910
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/language-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,14 @@ export const languages = [
return import("@codemirror/legacy-modes/mode/protobuf").then(m => legacy(m.protobuf))
}
}),
LanguageDescription.of({
name: "Pug",
alias: ["jade"],
extensions: ["pug", "jade"],
load() {
return import("@codemirror/legacy-modes/mode/pug").then(m => legacy(m.pug))
}
}),
LanguageDescription.of({
name: "Puppet",
extensions: ["pp"],
Expand Down

0 comments on commit 8234910

Please sign in to comment.