[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/typescript-mode f6d28c7a0d 073/222: Remove the fontificati
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/typescript-mode f6d28c7a0d 073/222: Remove the fontification hack. |
Date: |
Sun, 6 Feb 2022 16:59:18 -0500 (EST) |
branch: elpa/typescript-mode
commit f6d28c7a0df305893ac567cacc755a1db1bcc86c
Author: Louis-Dominique Dubeau <ldd@lddubeau.com>
Commit: Louis-Dominique Dubeau <ldd@lddubeau.com>
Remove the fontification hack.
Fixes #50.
---
typescript-mode.el | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/typescript-mode.el b/typescript-mode.el
index 0379c011c5..ed49358fe8 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -2487,23 +2487,7 @@ Key bindings:
(c-setup-paragraph-variables))
(set (make-local-variable 'syntax-begin-function)
- #'typescript--syntax-begin-function)
-
- ;; Important to fontify the whole buffer syntactically! If we don't,
- ;; then we might have regular expression literals that aren't marked
- ;; as strings, which will screw up parse-partial-sexp, scan-lists,
- ;; etc. and and produce maddening "unbalanced parenthesis" errors.
- ;; When we attempt to find the error and scroll to the portion of
- ;; the buffer containing the problem, JIT-lock will apply the
- ;; correct syntax to the regular expresion literal and the problem
- ;; will mysteriously disappear.
- (font-lock-set-defaults)
-
- (let (font-lock-keywords) ; leaves syntactic keywords intact
- ;; Avoid byte-compilation errors. `font-lock-fontify-buffer' is
- ;; marked as interactive only in Emacs 25.
- (with-no-warnings
- (font-lock-fontify-buffer))))
+ #'typescript--syntax-begin-function))
;; Set our custom predicate for flyspell prog mode
(put 'typescript-mode 'flyspell-mode-predicate
- [nongnu] elpa/typescript-mode 5e0b9ee095 168/222: Add a test that fails without the following indentation fix., (continued)
- [nongnu] elpa/typescript-mode 5e0b9ee095 168/222: Add a test that fails without the following indentation fix., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 42a60e5c88 190/222: Merge pull request #137 from sirikid/feature/comma-first-lists, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 1c2a8b2391 211/222: Move build to use proper tasks, support OSX and Windows., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 7f1cde0a90 221/222: Make c-comment-line-break-function work as expected., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 438fc968bf 016/222: Highlight set and get keyword, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode b6e993513c 015/222: Merge pull request #10 from nahuel/patch-1, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 09123ba690 002/222: prepare for melpa, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode abc0751c0e 025/222: Merge pull request #22 from josteink/master, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 5931f2776d 049/222: Add keyof keyword., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 782e8dd32e 071/222: Add fontification support for jsdoc/typedoc tags., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode f6d28c7a0d 073/222: Remove the fontification hack.,
ELPA Syncer <=
- [nongnu] elpa/typescript-mode 4b69ca57f5 080/222: Simplify regexp literal, ELPA Syncer, 2022/02/06
- [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