File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,9 @@ is used to limit the scan."
367367 1 font-lock-type-face )
368368
369369 ; ; Atoms and singleton-like words like true/false/nil.
370- (,(elixir-rx (group (or atoms " true" " false" " nil" ))
370+ (,(elixir-rx symbol-start
371+ (group (or atoms " true" " false" " nil" ))
372+ symbol-end
371373 (zero-or-more space)
372374 (optional " =" ))
373375 1 elixir-atom-face)
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ some_expr"
248248 (should (eq (elixir-test-face-at 2 ) 'font-lock-variable-name-face ))
249249 (should (eq (elixir-test-face-at 4 ) 'font-lock-variable-name-face ))))
250250
251- (ert-deftest elixir-mode-syntax-table/fontify-assignment-with-special-atom ()
251+ (ert-deftest elixir-mode-syntax-table/fontify-assignment-with-singleton ()
252252 " https://github.com/elixir-lang/emacs-elixir/issues/245"
253253 :tags '(fontification syntax-table)
254254 (elixir-test-with-temp-buffer
You can’t perform that action at this time.
0 commit comments