From fae38bc92721ed3ee70427c259d950a16941f36f Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sun, 22 Oct 2023 18:14:44 +0200 Subject: [PATCH] fix: Detect `makefile`s. --- packages/cspell-lib/src/lib/LanguageIds.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cspell-lib/src/lib/LanguageIds.ts b/packages/cspell-lib/src/lib/LanguageIds.ts index cd289e89c02..2a3a1980630 100644 --- a/packages/cspell-lib/src/lib/LanguageIds.ts +++ b/packages/cspell-lib/src/lib/LanguageIds.ts @@ -48,7 +48,7 @@ export const languageExtensionDefinitions: LanguageDefinitions = [ { id: 'css', extensions: ['.css'] }, { id: 'dhall', extensions: ['.dhall'] }, { id: 'diff', extensions: ['.diff', '.patch', '.rej'] }, - { id: 'dockerfile', extensions: ['.dockerfile'], filenames: ['Dockerfile'] }, + { id: 'dockerfile', extensions: ['.dockerfile'], filenames: ['Dockerfile', 'dockerfile'] }, { id: 'elixir', extensions: ['.ex', '.exs'] }, { id: 'fsharp', extensions: ['.fs', '.fsi', '.fsx', '.fsscript'] }, { id: 'go', extensions: ['.go'] }, @@ -75,7 +75,7 @@ export const languageExtensionDefinitions: LanguageDefinitions = [ { id: 'less', extensions: ['.less'] }, { id: 'literate haskell', extensions: ['.lhs'] }, { id: 'lua', extensions: ['.lua'] }, - { id: 'makefile', extensions: ['.mk'] }, + { id: 'makefile', extensions: ['.mk'], filenames: ['makefile'] }, { id: 'markdown', extensions: ['.md', '.mdown', '.markdown', '.markdn'] }, { id: 'mdx', extensions: ['.mdx'] }, { id: 'monkeyc', extensions: ['.mc', '.mb'] },