branch: elpa/nix-mode
commit 1f922d78ebf5f1bb16920f16b2030c2c3ee1c5b8
Author: Elis Hirwing <[email protected]>
Commit: Elis Hirwing <[email protected]>
Fix regex regression that caused the indent to indent too much
This was introduced in bb602e160fa5bb8ae15b113ebf308f0fb30b3aa9
---
nix-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-mode.el b/nix-mode.el
index cbb812b88d..300f7de99e 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -117,7 +117,7 @@ Valid functions for this are:
(defconst nix-re-quotes "''\\|\"")
-(defconst nix-re-comments "#\\|/\\*\\|\\*/")
+(defconst nix-re-comments "#\\|/*\\|*/")
(defconst nix-font-lock-keywords
`((,(regexp-opt nix-keywords 'symbols) 0 'nix-keyword-face)