We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b94f636 commit 886aa91Copy full SHA for 886aa91
test/elixir-mode-font-test.el
@@ -362,6 +362,14 @@ foo
362
(should (eq (elixir-test-face-at 53) 'font-lock-string-face))
363
(should (eq (elixir-test-face-at 55) 'font-lock-string-face))))
364
365
+(ert-deftest elixir-mode-syntax-table/hashmark-in-sigils ()
366
+ "Don't treat hashmark in sigils as comment"
367
+ :tags '(fontification syntax-table)
368
+ (elixir-test-with-temp-buffer
369
+ "~s(# foo)"
370
+ (should-not (eq (elixir-test-face-at 4) 'font-lock-comment-face))
371
+ (should (eq (elixir-test-face-at 6) 'font-lock-string-face))))
372
+
373
(provide 'elixir-mode-font-test)
374
375
;;; elixir-mode-font-test.el ends here
0 commit comments