mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/javascript: remove highlight-indentation-mode
This mode, paired with js2-mode's constant parsing, cause unacceptable slowdowns so I've disabled it by default.
This commit is contained in:
@ -9,8 +9,7 @@
|
||||
js2-mode-show-parse-errors nil
|
||||
js-chain-indent t)
|
||||
|
||||
(add-hook! 'js2-mode-hook
|
||||
#'(flycheck-mode highlight-indentation-mode rainbow-delimiters-mode))
|
||||
(add-hook! 'js2-mode-hook #'(flycheck-mode rainbow-delimiters-mode))
|
||||
|
||||
(set! :repl 'js2-mode #'+javascript/repl)
|
||||
(set! :electric 'js2-mode :chars '(?\} ?\) ?.))
|
||||
|
Reference in New Issue
Block a user