Commit 4420d6ad authored by David Sveningsson's avatar David Sveningsson
Browse files

emacs: prettier

parent 3a90b90a
...@@ -298,6 +298,15 @@ _j_ump _l_ist ^^ _q_:uit ...@@ -298,6 +298,15 @@ _j_ump _l_ist ^^ _q_:uit
:config :config
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)) (add-hook 'prog-mode-hook 'rainbow-delimiters-mode))
#+END_SRC #+END_SRC
** Prettier
Format buffer on save.
#+BEGIN_SRC emacs-lisp
(use-package prettier-js
:ensure t
:diminish
:hook
((typescript-mode js2-mode web-mode) . 'prettier-js-mode))
#+END_SRC
* Project management * Project management
** Projectile ** Projectile
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment