Skip to content

Commit

Permalink
fix: make cspell aware of PureScript and Dhall (#2067)
Browse files Browse the repository at this point in the history
- [The Dhall configuration language](https://dhall-lang.org/#)
- [PureScript](https://www.purescript.org/)
<!--- cspell:ignore Dhall --->
  • Loading branch information
Jason3S authored Dec 6, 2021
1 parent 22a7bdb commit 53c8457
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cspell-lib/src/LanguageIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// cspell:ignore jshintrc jscsrc eslintrc babelrc webmanifest mdown markdn psgi phtml pssc psrc gypi rhistory
// cspell:ignore rprofile cshtml gemspec cginc ebuild zshrc zprofile zlogin zlogout zshenv dsql ascx axml
// cspell:ignore bpmn csproj dita ditamap dtml fsproj fxml isml mxml adoc
// cspell:ignore purescript purs dhall

export interface LanguageExtensionDefinition {
id: string;
Expand Down Expand Up @@ -37,6 +38,7 @@ export const languageExtensionDefinitions: LanguageDefinitions = [
},
{ id: 'csharp', extensions: ['.cs'] },
{ id: 'css', extensions: ['.css'] },
{ id: 'dhall', extensions: ['.dhall'] },
{ id: 'diff', extensions: ['.diff', '.patch', '.rej'] },
{ id: 'dockerfile', extensions: ['.dockerfile'] },
{ id: 'elixir', extensions: ['.ex', '.exs'] },
Expand Down Expand Up @@ -73,6 +75,7 @@ export const languageExtensionDefinitions: LanguageDefinitions = [
{ id: 'php', extensions: ['.php', '.php4', '.php5', '.phtml', '.ctp'] },
{ id: 'plaintext', extensions: ['.txt'] },
{ id: 'powershell', extensions: ['.ps1', '.psm1', '.psd1', '.pssc', '.psrc'] },
{ id: 'purescript', extensions: ['.purs'] },
{ id: 'python', extensions: ['.py', '.rpy', '.pyw', '.cpy', '.gyp', '.gypi'] },
{ id: 'r', extensions: ['.r', '.rhistory', '.rprofile', '.rt'] },
{ id: 'razor', extensions: ['.cshtml'] },
Expand Down

0 comments on commit 53c8457

Please sign in to comment.