Add missing prettier-js package
This commit is contained in:
parent
2cf8a7d6a6
commit
91b3c8d6b8
@ -9,7 +9,7 @@
|
|||||||
'(anzu-replace-to-string-separator " => ")
|
'(anzu-replace-to-string-separator " => ")
|
||||||
'(anzu-search-threshold 1000)
|
'(anzu-search-threshold 1000)
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree tide smartparens sass-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nginx-mode neotree lua-mode lsp-ui log4j-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides go-mode git-timemachine git-modes eslintd-fix emmet-mode elpy editorconfig dotenv-mode doom-themes doom-modeline dokuwiki-mode dockerfile-mode diminish dashboard dap-mode crystal-mode counsel company-quickhelp company-php apache-mode anzu)))
|
'(git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree tide smartparens sass-mode rainbow-mode py-autopep8 projectile prettier-js pkgbuild-mode pip-requirements php-refactor-mode nginx-mode neotree lua-mode lsp-ui log4j-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides go-mode git-timemachine git-modes eslintd-fix emmet-mode elpy editorconfig dotenv-mode doom-themes doom-modeline dokuwiki-mode dockerfile-mode diminish dashboard dap-mode crystal-mode counsel company-quickhelp company-php apache-mode anzu)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
@ -83,7 +83,10 @@
|
|||||||
|
|
||||||
;; json-mode: Major mode for editing JSON files with emacs
|
;; json-mode: Major mode for editing JSON files with emacs
|
||||||
;; https://github.com/joshwnj/json-mode
|
;; https://github.com/joshwnj/json-mode
|
||||||
|
(use-package prettier-js
|
||||||
|
:pin "MELPA")
|
||||||
(use-package json-mode
|
(use-package json-mode
|
||||||
|
:pin "MELPA"
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer 20
|
:defer 20
|
||||||
:custom
|
:custom
|
||||||
@ -91,7 +94,7 @@
|
|||||||
(json-reformat:pretty-string? t)
|
(json-reformat:pretty-string? t)
|
||||||
(js-indent-level 2)
|
(js-indent-level 2)
|
||||||
:mode "\\.js\\(?:on\\|[hl]int\\(rc\\)?\\)\\'"
|
:mode "\\.js\\(?:on\\|[hl]int\\(rc\\)?\\)\\'"
|
||||||
:hook (json-mode-hook . prettier-js-mode)
|
:hook ((json-mode . prettier-js-mode))
|
||||||
:bind (:package json-mode-map
|
:bind (:package json-mode-map
|
||||||
:map json-mode-map
|
:map json-mode-map
|
||||||
("C-c <tab>" . json-mode-beautify)))
|
("C-c <tab>" . json-mode-beautify)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user