emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 563f6bdb03 272/500: Fixed `nix-mode-comments` mat


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 563f6bdb03 272/500: Fixed `nix-mode-comments` matching everything
Date: Sat, 29 Jan 2022 08:27:13 -0500 (EST)

branch: elpa/nix-mode
commit 563f6bdb039b43fc50a208237a3b1e2b03dbc6ae
Author: Teo Klestrup Röijezon <teo@nullable.se>
Commit: Teo Klestrup Röijezon <teo@nullable.se>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]