summaryrefslogtreecommitdiff
path: root/pygments/lexers/haskell.py
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2022-12-27 10:29:54 +0700
committerSimon Hengel <sol@typeful.net>2022-12-27 10:40:26 +0700
commitdbc177ca5c5a02a18990786e4d4db29dc0148a6e (patch)
tree2a7b2b3a120259eec98337828956c68218d063f2 /pygments/lexers/haskell.py
parentf0afb01195b5890ad7758554c23308db01a45be1 (diff)
downloadpygments-git-dbc177ca5c5a02a18990786e4d4db29dc0148a6e.tar.gz
Add `filenames` pattern for `HspecLexer`
Diffstat (limited to 'pygments/lexers/haskell.py')
-rw-r--r--pygments/lexers/haskell.py2
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 = {