From 46dcbc921f3321023b43adf644385ba668809804 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 20 Feb 2015 13:11:47 +0100 Subject: [PATCH] grammar: Do not randomly sprinkle recursive includes --- grammars/clojure.cson | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/grammars/clojure.cson b/grammars/clojure.cson index c32f91b..49b2496 100644 --- a/grammars/clojure.cson +++ b/grammars/clojure.cson @@ -234,30 +234,15 @@ { # there may be some metadata before an actual definition 'include': '#metadata' - 'patterns': [ - { - 'include': '$self' - } - ] } { # dynamic variables are rendered diferently 'include': '#dynamic-variables' - 'patterns': [ - { - 'include': '$self' - } - ] } { # recognizing a symbol as being defined here # copied and pasted from #symbol, screw it 'match': '([\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*][\\w\\.\\-\\_\\:\\+\\=\\>\\<\\!\\?\\*\\d]+)' 'name': 'entity.global.clojure' - 'patterns': [ - { - 'include': '$self' - } - ] } { 'include': '$self' @@ -266,27 +251,12 @@ } { 'include': '#keyfn' - 'patterns': [ - { - 'include': '$self' - } - ] } { 'include': '#constants' - 'patterns': [ - { - 'include': '$self' - } - ] } { 'include': '#vector' - 'patterns': [ - { - 'include': '$self' - } - ] } { 'match': '(?<=\\()(.+?)(?=\\s|\\))'