branch: externals/csharp-mode commit 098aba356da04e180e10978ff76958f34e0a12af Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@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)) ))