@@ -0,0 +1,47 @@
3+# http://www.sublimetext.com/docs/3/syntax.html
10+ - match: ^(\s*)(exposed-modules):$
12+ 2: constant.other.cabal
14+ - meta_scope: exposed.modules.cabal
17+ - include: module_name
18+ - match: ^(\s*)(build-depends):$
20+ 2: constant.other.cabal
22+ - meta_scope: exposed.modules.cabal
25+ - match: "([<>=]+)|([&|]+)"
26+ scope: keyword.operator.haskell
27+ - match: ((\d+|\*)\.)*(\d+|\*)
28+ scope: constant.numeric.haskell
30+ scope: support.function.haskell
31+ - match: '^\s*([a-zA-Z_-]+)(:)\s+'
34+ 1: constant.other.cabal
35+ 2: punctuation.entity.cabal
36+ - match: '^(?i)(executable|library|test-suite|benchmark|flag|source-repository)\s+([^\s,]+)\s*$'
39+ 1: keyword.entity.cabal
41+ - match: ^(?i)library\s*$
42+ scope: keyword.entity.cabal
46+ - match: '([A-Z][A-Za-z_''0-9]*)(\.[A-Z][A-Za-z_''0-9]*)*'
47+ scope: storage.module.haskell