branch: elpa/nix-mode
commit 90ac0a74b205f11dc456676b6dbefc5072e7eb6c
Merge: 84ee98019f 563f6bdb03
Author: Matthew Bauer <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #55 from teozkr/issue-54
    
    Fixed `nix-mode-comments` matching everything
---
 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))

Reply via email to