From 18e09b41006b270c9fc99f04ce03601b3182c5bd Mon Sep 17 00:00:00 2001 From: masad-frost Date: Sat, 9 Jun 2018 02:16:12 -0700 Subject: [PATCH] Fix broken comments --- src/clojure/clojure.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/clojure/clojure.ts b/src/clojure/clojure.ts index 53c0473c..142854d9 100644 --- a/src/clojure/clojure.ts +++ b/src/clojure/clojure.ts @@ -211,10 +211,10 @@ export const language = { ], comment: [ - [/[^\(comment]+/, 'comment'], - [/\)/, 'comment', '@push'], - [/\(comment/, 'comment', '@pop'], - [/[\)]/, 'comment'], + [/[^comment\(\)]+/, 'comment'], + [/\(comment/, 'comment', '@push'], + [/\)/, 'comment', '@pop'], + [/[comment\(\)]/, 'comment'], ], whitespace: [