Skip to content

Commit a81426c

Browse files
authored
fix: Detect Lisp files (#5460)
1 parent dc8459d commit a81426c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cspell-dict.txt

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Dawg
1515
DAWG
1616
deref
1717
deserializers
18+
elisp
1819
estree
1920
exonum
2021
gimu

packages/cspell-lib/src/lib/LanguageIds.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import { autoResolve } from './util/AutoResolve.js';
1010

11-
// cspell:ignore cljs cljx cson iname pcregrep fsscript gradle shtml xhtml mdoc aspx jshtm gitconfig bowerrc
11+
// cspell:ignore cljs cljx cson iname pcregrep fsscript fasl gradle shtml xhtml mdoc aspx jshtm gitconfig bowerrc
1212
// cspell:ignore jshintrc jscsrc eslintrc babelrc webmanifest mdown markdn psgi phtml pssc psrc gypi rhistory
1313
// cspell:ignore rprofile cshtml gemspec cginc ebuild zshrc zprofile zlogin zlogout zshenv dsql ascx axml
1414
// cspell:ignore bpmn csproj dita ditamap dtml fsproj fxml isml mxml adoc
@@ -49,6 +49,7 @@ export const languageExtensionDefinitions: LanguageDefinitions = [
4949
{ id: 'dhall', extensions: ['.dhall'] },
5050
{ id: 'diff', extensions: ['.diff', '.patch', '.rej'] },
5151
{ id: 'dockerfile', extensions: ['.dockerfile'], filenames: ['Dockerfile', 'dockerfile', 'Dockerfile.dev'] },
52+
{ id: 'elisp', extensions: ['.el'] },
5253
{ id: 'elixir', extensions: ['.ex', '.exs'] },
5354
{ id: 'fsharp', extensions: ['.fs', '.fsi', '.fsx', '.fsscript'] },
5455
{ id: 'go', extensions: ['.go'] },
@@ -74,6 +75,7 @@ export const languageExtensionDefinitions: LanguageDefinitions = [
7475
{ id: 'julia', extensions: ['.jl'] },
7576
{ id: 'jungle', extensions: ['.jungle'] },
7677
{ id: 'less', extensions: ['.less'] },
78+
{ id: 'lisp', extensions: ['.lisp', '.lsp', '.l', '.fasl'] },
7779
{ id: 'literate haskell', extensions: ['.lhs'] },
7880
{ id: 'lua', extensions: ['.lua'] },
7981
{ id: 'makefile', extensions: ['.mk'], filenames: ['makefile'] },

0 commit comments

Comments
 (0)