use typescript-ts-mode and tsx-ts-mode at first
This commit is contained in:
10 files changed
+45
-29
No files matched your search
@@ -21,7 +21,10 @@
|
||||
(add-to-list 'prettier-major-mode-parsers
|
||||
'(js-json-mode . creature/prettier-json-parser)))
|
||||
|
||||
(dolist (hook '(css-mode-hook js-mode-hook typescript-mode-hook))
|
||||
(dolist (hook '(css-mode-hook
|
||||
js-mode-hook
|
||||
typescript-mode-hook
|
||||
typescript-ts-base-mode-hook))
|
||||
(add-hook hook #'prettier-mode))
|
||||
|
||||
(provide 'init-prettier)
|
||||
Reference in new issue
Block a user