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:
parent
4c535b2643
commit
dc8fd12448
1 changed files with 1 additions and 2 deletions
|
@ -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 '(?\} ?\) ?.))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue