Remove js2-mode because its slow down json files
This commit is contained in:
parent
d04f4e8acb
commit
a5850c8e2a
1 changed files with 0 additions and 10 deletions
|
@ -66,16 +66,6 @@ There are two things you can do about this warning:
|
|||
(use-package eglot
|
||||
:hook ((python-mode . eglot-ensure) (c-mode . eglot-ensure)))
|
||||
|
||||
(use-package js2-mode
|
||||
:interpreter (("node" . js2-mode))
|
||||
:bind (:map js2-mode-map ("C-c C-p" . js2-print-json-path))
|
||||
:mode "\\.\\(js\\|json\\)$"
|
||||
:config
|
||||
(add-hook 'js-mode-hook 'js2-minor-mode)
|
||||
(setq js2-basic-offset 2
|
||||
js2-highlight-level 3
|
||||
js2-mode-show-parse-errors nil
|
||||
js2-mode-show-strict-warnings nil))
|
||||
|
||||
(use-package web-mode
|
||||
:mode "\\.html?\\'"
|
||||
|
|
Loading…
Add table
Reference in a new issue