Skip to content

Commit

Permalink
fix: Be able to detect Terraform files (#5391)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Mar 21, 2024
1 parent cf9b826 commit 472f272
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cspell-lib/src/lib/LanguageIds.ts
Expand Up @@ -12,7 +12,7 @@ import { autoResolve } from './util/AutoResolve.js';
// 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 SPSS
// cspell:ignore purescript purs dhall SPSS tfvars

export interface LanguageExtensionDefinition {
id: string;
Expand Down Expand Up @@ -122,6 +122,8 @@ export const languageExtensionDefinitions: LanguageDefinitions = [
{ id: 'svelte', extensions: ['.svelte'] },
{ id: 'swift', extensions: ['.swift'] },
{ id: 'toml', extensions: ['.toml'] },
{ id: 'terraform', extensions: ['.tf', '.tf.json'] },
{ id: 'tfvars', extensions: ['.tfvars'], description: 'Terraform Variables' },
{ id: 'typescript', extensions: ['.ts', '.cts', '.mts'] },
{ id: 'typescriptreact', extensions: ['.tsx'] },
{ id: 'vb', extensions: ['.vb', '.brs', '.vbs', '.bas'] },
Expand Down

0 comments on commit 472f272

Please sign in to comment.