branch: externals/csharp-mode commit 20efdc8b9fa21fe4c297cc290c4fe68ef21d896e Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Add support for highlighting function-invocation. --- csharp-mode.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/csharp-mode.el b/csharp-mode.el index ea66a6b..9583878 100644 --- a/csharp-mode.el +++ b/csharp-mode.el @@ -1130,6 +1130,12 @@ to work properly with code that includes attributes." 2 font-lock-constant-face t) + ;; Highlight function-invocation. + ;; (this may in the future use font-lock-function-call-face, if standardized) + ,`(,"\\.\\([A-Za-z0-9_]+\\)(" + 1 font-lock-function-name-face t) + + )) ;; verbatim string literals can be multiline