better ts support

This commit is contained in:
Eli Mellen 2019-09-04 11:22:48 -04:00
parent 270308843d
commit ef612ac8b6
1 changed files with 6 additions and 2 deletions

View File

@ -260,8 +260,12 @@ Who needs Postman when you've got emacs!?
*** Typescript
#+BEGIN_SRC emacs-lisp
(use-package tide
:ensure t
:mode "\\.ts\\'")
:ensure t
:mode "\\.ts\\'"
:after (typescript-mode company flycheck)
:hook ((typescript-mode . tide-setup)
(typescript-mode . tide-hl-identifier-mode)
(before-save . tide-format-before-save)))
#+END_SRC
* Useful functions