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

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

[elpa] externals/csharp-mode 098aba3 334/459: Fix improper handling of "


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 098aba3 334/459: Fix improper handling of "new" in buffers.
Date: Sun, 22 Aug 2021 13:59:55 -0400 (EDT)

branch: externals/csharp-mode
commit 098aba356da04e180e10978ff76958f34e0a12af
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Fix improper handling of "new" in buffers.
    
    This partially fixes https://github.com/josteink/csharp-mode/issues/158.
---
 csharp-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 8cf3847..8129749 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -315,7 +315,7 @@
              1 font-lock-variable-name-face t))
 
           ;;  Types after 'new'
-          `((,(concat "new\\s *" csharp--regex-type-name-matcher)
+          `((,(concat "\\<new\\> *" csharp--regex-type-name-matcher)
              1 font-lock-type-face t))
           ))
 



reply via email to

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