branch: elpa/zig-mode
commit 32aec7265f5189294456387606405710d156a563
Author: Josias <justjos...@tutanota.com>
Commit: Josias <justjos...@tutanota.com>

    Add previous-line doc comments
---
 zig-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zig-mode.el b/zig-mode.el
index 3a0299f..e805d49 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -376,7 +376,7 @@ If given a SOURCE, execute the CMD on it."
           'font-lock-string-face))
     (save-excursion
       (goto-char (nth 8 state))
-      (if (looking-at "///[^/]")
+      (if (looking-at "//[/|!][^/]")
           'font-lock-doc-face
         'font-lock-comment-face))))
 

Reply via email to