File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -349,9 +349,18 @@ elements of a def* forms."
349
349
; ; Possibly type or metadata
350
350
" \\ (?:#?^\\ (?:{[^}]*}\\ |\\ sw+\\ )[ \r\n\t ]*\\ )*"
351
351
" \\ (\\ sw+\\ )?" )
352
- (1 font-lock-type-face )
352
+ (1 font-lock-keyword-face )
353
+ (2 font-lock-function-name-face nil t ))
354
+ ; ; (fn name? args ...)
355
+ (,(concat " (\\ (?:clojure.core/\\ )?\\ (fn\\ )[ \t ]+"
356
+ ; ; Possibly type
357
+ " \\ (?:#?^\\ sw+[ \t ]*\\ )?"
358
+ ; ; Possibly name
359
+ " \\ (t\\ sw+\\ )?" )
360
+ (1 font-lock-keyword-face )
353
361
(2 font-lock-function-name-face nil t ))
354
- (,(concat " \\ (\\ (?:[a-z\. -]+/\\ )?def\[ a-z\] *-?\\ )"
362
+
363
+ (,(concat " (\\ (\\ (?:[a-z\. -]+/\\ )?def\[ a-z\] *-?\\ )"
355
364
; ; Function declarations.
356
365
" \\ >"
357
366
; ; Any whitespace
@@ -495,14 +504,6 @@ elements of a def* forms."
495
504
) t )
496
505
" \\ >" )
497
506
1 font-lock-variable-name-face )
498
- ; ; (fn name? args ...)
499
- (,(concat " (\\ (?:clojure.core/\\ )?\\ (fn\\ )[ \t ]+"
500
- ; ; Possibly type
501
- " \\ (?:#?^\\ sw+[ \t ]*\\ )?"
502
- ; ; Possibly name
503
- " \\ (\\ sw+\\ )?" )
504
- (1 font-lock-keyword-face )
505
- (2 font-lock-function-name-face nil t ))
506
507
; ;Other namespaces in clojure.jar
507
508
(,(concat
508
509
" (\\ (?:\. */\\ )?"
You can’t perform that action at this time.
0 commit comments