branch: elpa/nix-mode
commit 563f6bdb039b43fc50a208237a3b1e2b03dbc6ae
Author: Teo Klestrup Röijezon <[email protected]>
Commit: Teo Klestrup Röijezon <[email protected]>
Fixed `nix-mode-comments` matching everything
Fixes #54
---
nix-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-mode.el b/nix-mode.el
index 821f53b5d3..ea54a8ea87 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -54,7 +54,7 @@ Valid functions for this are:
:type '(repeat string))
(defcustom nix-mode-comments
- '("#" "/*" "*/")
+ '("#" "/\\*" "\\*/")
"Regular expressions to consider comment codes."
:group 'nix-mode
:type '(repeat string))