diff options
author | Simon Hengel <sol@typeful.net> | 2022-12-27 10:29:54 +0700 |
---|---|---|
committer | Simon Hengel <sol@typeful.net> | 2022-12-27 10:40:26 +0700 |
commit | dbc177ca5c5a02a18990786e4d4db29dc0148a6e (patch) | |
tree | 2a7b2b3a120259eec98337828956c68218d063f2 /pygments/lexers/haskell.py | |
parent | f0afb01195b5890ad7758554c23308db01a45be1 (diff) | |
download | pygments-git-dbc177ca5c5a02a18990786e4d4db29dc0148a6e.tar.gz |
Add `filenames` pattern for `HspecLexer`
Diffstat (limited to 'pygments/lexers/haskell.py')
-rw-r--r-- | pygments/lexers/haskell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/haskell.py b/pygments/lexers/haskell.py index 1840a8b2..6b11ca56 100644 --- a/pygments/lexers/haskell.py +++ b/pygments/lexers/haskell.py @@ -163,7 +163,7 @@ class HspecLexer(HaskellLexer): name = 'Hspec' aliases = ['hspec'] - filenames = [] + filenames = ['*Spec.hs'] mimetypes = [] tokens = { |