File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ fileTypes: [
1010 "emacs.desktop"
1111 "abbrev_defs"
1212 "Project.ede"
13+ "Cask"
1314 "gnus"
1415 "viper"
1516]
@@ -59,10 +60,18 @@ repository:
5960 {include: "#symbols"}
6061 {include: "#vectors"}
6162 {include: "#arg-values"}
63+ {include: "#archive-sources"}
6264 {include: "#boolean"}
6365 {include: "#faces"}
6466 {include: "#stdlib"}
6567 ]
68+
69+ "archive-sources":
70+ match: """(?x)\\b(?<=[\\s()\\[]|^)
71+ (SC|gnu|marmalade|melpa-stable|melpa|org)
72+ (?=[\\s()]|$) \\b """
73+ captures:
74+ 1: name: "support.language.constant.archive-source.emacs.lisp"
6675
6776
6877 # Special keywords used in function/macro definitions
@@ -649,6 +658,21 @@ repository:
649658 {match: "\\[", name: "punctuation.section.vector.begin.emacs.lisp"}
650659 {match: "\\]", name: "punctuation.section.vector.end.emacs.lisp"}
651660 ]
661+
662+
663+ # Project management tool for Emacs with a DSL that uses Emacs Lisp.
664+ # Reference: https://cask.readthedocs.io/en/latest/guide/dsl.html
665+ Cask:
666+ patterns: [{
667+ begin: "(\\()(files|source|development|depends-on|package|package-(?:file|descriptor))"
668+ end: "\\)"
669+ beginCaptures:
670+ 1: name: "punctuation.section.expression.begin.emacs.lisp"
671+ 2: name: "keyword.control.function.$2.cask.emacs.lisp"
672+ endCaptures:
673+ 0: name: "punctuation.section.expression.end.emacs.lisp"
674+ patterns: [include: "$self"]
675+ }]
652676
653677
654678 # Text faces (Source: http://doc.endlessparentheses.com/faces.html)
You can’t perform that action at this time.
0 commit comments