* lisp/progmodes/js.el (js-mode): Move parse cache setup back.
(setq-local fill-paragraph-function #'js-fill-paragraph)
(setq-local normal-auto-fill-function #'js-do-auto-fill)
+ ;; Parse cache
+ (add-hook 'before-change-functions #'js--flush-caches t t)
+
;; Frameworks
(js--update-quick-match-re)
#'syntax-propertize-multiline 'append 'local)
(add-hook 'syntax-propertize-extend-region-functions
#'js--syntax-propertize-extend-region 'append 'local)
-
- ;; Parse cache
- (add-hook 'before-change-functions #'js--flush-caches t t))))
+ )))
(defvar js-json--treesit-font-lock-settings
(treesit-font-lock-rules