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.
2 parents a1b84ec + 8737c0f commit 709fbe2Copy full SHA for 709fbe2
test/elixir-mode-font-test.el
@@ -152,6 +152,15 @@ end"
152
end"
153
(should (eq (elixir-test-face-at 91) 'font-lock-keyword-face))))
154
155
+(ert-deftest elixir-mode-syntax-table/fontify-end-if-the-last-line-in-a-module-is-a-comment ()
156
+ "https://github.com/elixir-lang/emacs-elixir/issues/283"
157
+ :tags '(fontification syntax-table)
158
+ (elixir-test-with-temp-buffer
159
+ "defmodule Foo do
160
+ # foo
161
+end"
162
+ (should (eq (elixir-test-face-at 26) 'font-lock-keyword-face))))
163
+
164
(ert-deftest elixir-mode-syntax-table/fontify-heredoc/1 ()
165
:tags '(fontification heredoc syntax-table)
166
(elixir-test-with-temp-buffer
0 commit comments