File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -878,10 +878,9 @@ any number of matches of `clojure--sym-forbidden-rest-chars'."))
878
878
" \\ (?:#?^\\ (?:{[^}]*}\\ |\\ sw+\\ )[ \r\n\t ]*\\ )*"
879
879
" \\ (\\ sw+\\ )?" )
880
880
(2 font-lock-type-face nil t ))
881
- ; ; Function definition (anything that starts with def and is not
882
- ; ; listed above)
883
- (,(concat " (\\ (?:" clojure--sym-regexp " /\\ )?"
884
- " \\ (def[^ \r\n\t ]*\\ )"
881
+ ; ; Function definition
882
+ (,(concat " (\\ (?:clojure.core/\\ )?"
883
+ " \\ (defn\\ )"
885
884
; ; Function declarations
886
885
" \\ >"
887
886
; ; Any whitespace
Original file line number Diff line number Diff line change @@ -780,13 +780,13 @@ DESCRIPTION is the description of the spec."
780
780
(2 4 font-lock-type-face )
781
781
(5 5 nil )
782
782
(6 9 font-lock-keyword-face )
783
- (11 13 font-lock-function-name-face ))
783
+ (11 13 nil ))
784
784
785
785
(" (clo/defrecord foo nil)"
786
786
(2 4 font-lock-type-face )
787
787
(5 5 nil )
788
788
(6 14 font-lock-keyword-face )
789
- (16 18 font-lock-function-name-face ))
789
+ (16 18 nil ))
790
790
791
791
(" (s/def ::keyword)"
792
792
(2 2 font-lock-type-face )
You can’t perform that action at this time.
0 commit comments