[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/typescript-mode e6f68ab2dd 198/222: Fontify basic types ov
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/typescript-mode e6f68ab2dd 198/222: Fontify basic types over keywords. |
Date: |
Sun, 6 Feb 2022 16:59:32 -0500 (EST) |
branch: elpa/typescript-mode
commit e6f68ab2dd998af0b50ae89a781e1c04539d23d6
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Fontify basic types over keywords.
Ensure "void" gets highlighted correctly in method signatures.
---
typescript-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/typescript-mode.el b/typescript-mode.el
index c0ed37cac5..777cd04c1f 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -313,12 +313,12 @@ Match group 1 is MUMBLE.")
(defconst typescript--font-lock-keywords-2
(append typescript--font-lock-keywords-1
(list (cons typescript--constant-re font-lock-constant-face)
+ (cons typescript--basic-type-re font-lock-type-face)
(list typescript--keyword-re 1 font-lock-keyword-face)
(list "\\_<for\\_>"
"\\s-+\\(each\\)\\_>" nil nil
(list 1 'font-lock-keyword-face))
- (cons "\\_<yield\\(\\*\\|\\_>\\)" 'font-lock-keyword-face)
- (cons typescript--basic-type-re font-lock-type-face)))
+ (cons "\\_<yield\\(\\*\\|\\_>\\)" 'font-lock-keyword-face)))
"Level two font lock keywords for `typescript-mode'.")
;; typescript--pitem is the basic building block of the lexical
- [nongnu] elpa/typescript-mode 7249d76e2d 097/222: Merge pull request #64 from dakra/master, (continued)
- [nongnu] elpa/typescript-mode 7249d76e2d 097/222: Merge pull request #64 from dakra/master, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode d1ddaad259 089/222: Fix indentation of continued expressions., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 526f307ca8 101/222: Fontify yield and yield* as keyword, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 67d67f0c20 099/222: Typo in the readme, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode b5e3f2a8a6 100/222: Merge pull request #68 from GeertVL/patch-1, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode a5f342e539 160/222: Add snake_cased function call to regression test suite, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 6eaddf6c17 162/222: Drop the custom insert-and-indent code in favor of electric-indent., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 0fc7297870 184/222: Add compilation-mode support for ng lint too., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode b6cd68ae77 177/222: Add test-cases for type-highlights supported so far., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 102587e458 183/222: Merge pull request #132 from jkdufair/master, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode e6f68ab2dd 198/222: Fontify basic types over keywords.,
ELPA Syncer <=
- [nongnu] elpa/typescript-mode fb44319479 197/222: Merge pull request #125 from Fuco1/fix/prefer-constant-over-keyword, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode ae32e1c28f 193/222: Use ‘insert-file-contents’ instead of ‘find-file’ for tests., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode bbbe50aade 194/222: Merge pull request #140 from phst/find-file, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 996fb729ca 201/222: Update README.md, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode c9b22f5f33 215/222: Merge pull request #152 from Rogach/pr/fix-indentation-when-lexical-scoping, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 47b7fd239e 214/222: add a test for error thrown if typescript-mode is loaded with lexical scoping enabled, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 49ff1149e2 218/222: Add `override` to the list of highlighted keywords, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 36f685251f 008/222: Merge pull request #2 from quanticle/master, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 5a3c84247d 007/222: Typescript added the "protected" keyword in 1.3., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 49241bcc1f 011/222: Merge pull request #3 from OrangeShark/typescript1.5, ELPA Syncer, 2022/02/06