[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 3fc339e 310/459: Add fontification to funct
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 3fc339e 310/459: Add fontification to functions |
Date: |
Sun, 22 Aug 2021 13:59:51 -0400 (EDT) |
branch: externals/csharp-mode
commit 3fc339ed2549feaf5dd9dc092702cfcaf6a136c9
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Theodor Thornhill <theo@thornhill.no>
Add fontification to functions
---
csharp-mode.el | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 2cd428f..a643bbf 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -53,12 +53,6 @@
csharp (append '((?@ . "w"))
(c-lang-const c-identifier-syntax-modifications)))
-(c-lang-defconst c-basic-matchers-after
- csharp (append nil
- ;; cc-mode defaults
- (c-lang-const c-basic-matchers-after)))
-
-
(c-lang-defconst c-symbol-start
csharp (concat "[" c-alpha "_@]"))
@@ -298,6 +292,15 @@ casts and declarations are fontified. Used on level 2 and
higher."
(eval . (list "\\(!\\)[^=]" 1 c-negation-char-face-name))
))
+(c-lang-defconst c-basic-matchers-after
+ csharp (append
+ ;; merge with cc-mode defaults
+ (c-lang-const c-basic-matchers-after)
+
+ ;; function names
+ `(("\\.\\([A-Za-z0-9_]+\\)(" 1 font-lock-function-name-face t))
+ ))
+
(defcustom csharp-font-lock-extra-types
(list (concat "[" c-upper "]\\sw*[" c-lower "]\\sw"))
(c-make-font-lock-extra-types-blurb "C#" "csharp-mode" (concat))
- [elpa] externals/csharp-mode 3d02042 291/459: makefile: Make repeated test-runs faster to run., (continued)
- [elpa] externals/csharp-mode 3d02042 291/459: makefile: Make repeated test-runs faster to run., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 072c3dc 292/459: Fix parts of `fontification-of-literals-detects-end-of-strings`, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2ab4d62 293/459: Remove unused import, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e79d694 299/459: Add standard query operators kwds, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 608805c 300/459: Relicense to GPLv3, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c6ec8c2 306/459: Remove before/after functions, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 70d3d89 297/459: Fix cl failure for old cc-mode versions, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 919dd65 294/459: Fix c-default-style warnings, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b85033a 309/459: Make fontification a little less 'constant-heavy', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 795b9bb 301/459: Merge pull request #168 from josteink/relicense, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 3fc339e 310/459: Add fontification to functions,
ELPA Syncer <=
- [elpa] externals/csharp-mode 3526396 305/459: Remove before/after functions, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode dbbd17a 312/459: Merge pull request #171 from josteink/fontification-lighter, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7a41dad 318/459: Add attributes to indentation-tests, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f46d656 321/459: Fix indentation in one defconst, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 49d8392 323/459: Add nullable operator to concatenated identifiers, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2ee53e4 234/459: Fix some easy checkdoc errors., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 309e2c8 238/459: Create failing test-case., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode cef0d90 243/459: Don't override user's customizations., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode af61254 244/459: Fix off-by-one error for region directive comments, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4b3d6f8 247/459: More region comment fixes., ELPA Syncer, 2021/08/22