File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ Called by `imenu--generic-function'."
504
504
; ; foo/ Foo/
505
505
(" \\ <\\ ([a-zA-Z][a-z0-9_-]*\\ )/" 1 font-lock-type-face )
506
506
; ; fooBar
507
- (" \\ (?:\\ <\\ |/\\ )\\ ([a-z]+[A-Z]+[a-z][a- zA-Z0-9$]*\\ >\\ )" 1 'clojure-interop-method-face )
507
+ (" \\ (?:\\ <\\ |/\\ )\\ ([a-z]+[A-Z]+[a-zA-Z0-9$]*\\ >\\ )" 1 'clojure-interop-method-face )
508
508
; ; Highlight grouping constructs in regular expressions
509
509
(clojure-mode-font-lock-regexp-groups
510
510
(1 'font-lock-regexp-grouping-construct prepend))))
Original file line number Diff line number Diff line change @@ -118,6 +118,13 @@ POS."
118
118
(should (eq (clojure-test-face-at 1 5 ) 'font-lock-type-face ))
119
119
(should (eq (clojure-test-face-at 7 16 ) 'clojure-interop-method-face ))))
120
120
121
+ (ert-deftest clojure-mode-syntax-table/interop-method ()
122
+ :tags '(fontification syntax-table)
123
+ (should (eq (clojure-test-face-at 1 11 " .someMethod" ) 'clojure-interop-method-face ))
124
+ (should (eq (clojure-test-face-at 1 10 " someMethod" ) 'clojure-interop-method-face ))
125
+ (should (eq (clojure-test-face-at 1 11 " topHttpTest" ) 'clojure-interop-method-face ))
126
+ (should (eq (clojure-test-face-at 1 4 " getX" ) 'clojure-interop-method-face )))
127
+
121
128
(ert-deftest clojure-mode-syntax-table/constant ()
122
129
:tags '(fontification syntax-table)
123
130
(should (eq (clojure-test-face-at 1 5 " CONST" ) 'font-lock-constant-face ))
You can’t perform that action at this time.
0 commit comments