From eb261b84f816e7dbabbd09658b082ab1d9a909c7 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sun, 15 May 2016 13:56:42 +0200 Subject: [PATCH] refactor: ordering patterms --- grammars/language-asciidoc.cson | 231 +++++++----------- .../partials/explicit-paragraph-grammar.cson | 2 +- lib/code-block-generator.coffee | 8 +- 3 files changed, 97 insertions(+), 144 deletions(-) diff --git a/grammars/language-asciidoc.cson b/grammars/language-asciidoc.cson index f1a65ef..c708bdb 100644 --- a/grammars/language-asciidoc.cson +++ b/grammars/language-asciidoc.cson @@ -227,10 +227,7 @@ repository: patterns: [ { name: "markup.explicit.asciidoc" - match: ''' - ^\\[((normal|literal|listing|TIP|NOTE|IMPORTANT|WARNING|CAUTION|partintro|comment|example|sidebar|source|music|latex|graphviz))\\]$(?