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

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

[elpa] externals/csharp-mode 48b11cf 366/459: Fix issues with non-nested


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 48b11cf 366/459: Fix issues with non-nested using-statements.
Date: Sun, 22 Aug 2021 14:00:02 -0400 (EDT)

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

    Fix issues with non-nested using-statements.
    
    C# now supports non-nested using statements.
    
    These gets picked up and fontified using the same regexp meant for
    namespace imports.
    
    Fix that by requiring namespace imports to start at the beginning of
    the line.
---
 csharp-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 5431f0a..84a0739 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -58,7 +58,7 @@
     "Regex matching a type identifier in C#.")
 
   (defconst csharp--regex-using-or-namespace
-    (concat "using" "\\|" "namespace"
+    (concat "\"using" "\\|" "namespace"
             "\\s *"
             csharp--regex-type-name-matcher)
     "Regex matching identifiers after a using or namespace



reply via email to

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