1
0
masad-frost 7 жил өмнө
parent
commit
18e09b4100

+ 4 - 4
src/clojure/clojure.ts

@@ -211,10 +211,10 @@ export const language = <ILanguage>{
         ],
 
         comment: [
-            [/[^\(comment]+/, 'comment'],
-            [/\)/, 'comment', '@push'],
-            [/\(comment/, 'comment', '@pop'],
-            [/[\)]/, 'comment'],
+            [/[^comment\(\)]+/, 'comment'],
+            [/\(comment/, 'comment', '@push'],
+            [/\)/, 'comment', '@pop'],
+            [/[comment\(\)]/, 'comment'],
         ],
 
         whitespace: [