Browse Source

make prettier go in typescript-mode

main
John SJ Anderson 1 week ago
parent
commit
3b413bbbb2
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      etc/misc.el

+ 3
- 1
etc/misc.el View File

@@ -1065,7 +1065,9 @@ If no FONT-SIZE provided, reset the size to its default variable."
:defer t
:diminish (typescript-mode " ts")
:config
(setq typescript-indent-level 2))
(setq typescript-indent-level 2)
(add-hook 'typescript-mode-hook #'prettier-js-mode)
(add-hook 'typescript-mode-hook #'add-node-modules-path))

;;; UNICODE
(defun genehack/unicode (char)


Loading…
Cancel
Save