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)))