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:
Henrik Lissner 2018-03-06 16:17:01 -05:00
parent 4c535b2643
commit dc8fd12448
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -9,8 +9,7 @@
js2-mode-show-parse-errors nil js2-mode-show-parse-errors nil
js-chain-indent t) js-chain-indent t)
(add-hook! 'js2-mode-hook (add-hook! 'js2-mode-hook #'(flycheck-mode rainbow-delimiters-mode))
#'(flycheck-mode highlight-indentation-mode rainbow-delimiters-mode))
(set! :repl 'js2-mode #'+javascript/repl) (set! :repl 'js2-mode #'+javascript/repl)
(set! :electric 'js2-mode :chars '(?\} ?\) ?.)) (set! :electric 'js2-mode :chars '(?\} ?\) ?.))