summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornverno <noah.v.peart@gmail.com>2023-11-24 07:18:26 -0800
committerDmitry Gutov <dmitry@gutov.dev>2023-11-24 20:40:34 +0200
commit6f843f03dc21c64d2535105c5bf91180aba554d1 (patch)
tree464ea39ee872dad0b942380989239c962dbe884b
parent0676a02931014e64160c71207ab4ef8d4a33a9b1 (diff)
downloademacs-6f843f03dc21c64d2535105c5bf91180aba554d1.tar.gz
emacs-6f843f03dc21c64d2535105c5bf91180aba554d1.tar.bz2
emacs-6f843f03dc21c64d2535105c5bf91180aba554d1.zip
typescript-ts-mode: Add missing 'operator' to treesit-font-lock-features
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode): Add operator to treesit-font-lock-feature-list (bug#67433).
-rw-r--r--lisp/progmodes/typescript-ts-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el
index 4e039abd236..a2b16d1beea 100644
--- a/lisp/progmodes/typescript-ts-mode.el
+++ b/lisp/progmodes/typescript-ts-mode.el
@@ -428,7 +428,7 @@ This mode is intended to be inherited by concrete major modes."
'((comment declaration)
(keyword string escape-sequence)
(constant expression identifier number pattern property)
- (function bracket delimiter)))
+ (operator function bracket delimiter)))
(setq-local syntax-propertize-function #'typescript-ts--syntax-propertize)
(treesit-major-mode-setup)))