File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ is used to limit the scan."
427
427
1 font-lock-variable-name-face )
428
428
429
429
; ; Map keys
430
- (,(elixir-rx (group (and identifiers " :" )) space)
430
+ (,(elixir-rx (group (and identifiers " :" )) ( or space " \n " ) )
431
431
1 elixir-atom-face)
432
432
433
433
; ; Pseudovariables
Original file line number Diff line number Diff line change @@ -250,7 +250,12 @@ true_false_nil
250
250
; ; https://github.com/elixir-editors/emacs-elixir/issues/320
251
251
(elixir-test-with-temp-buffer
252
252
" <<foo::bar>>"
253
- (should-not (eq (elixir-test-face-at 3 ) 'elixir-atom-face ))))
253
+ (should-not (eq (elixir-test-face-at 3 ) 'elixir-atom-face )))
254
+
255
+ (elixir-test-with-temp-buffer
256
+ " %{key:
257
+ a_very_long_value_that_needed_to_wrap}"
258
+ (should (eq (elixir-test-face-at 3 ) 'elixir-atom-face ))))
254
259
255
260
(ert-deftest elixir-mode-syntax-table/fontify-interpolation ()
256
261
:tags '(fontification interpolation syntax-table)
You can’t perform that action at this time.
0 commit comments