Add tide, configuration in progress

This commit is contained in:
Maciej Szlosarczyk 2017-09-06 12:00:50 +03:00
parent 7776d68b3b
commit a922e76b5f
No known key found for this signature in database
GPG key ID: 89B81875705031E6
3 changed files with 25 additions and 0 deletions

View file

@ -19,6 +19,14 @@
'((company-tern company-capf company-dabbrev-code company-yasnippet
company-files))))
;;========== Tide mode ============================
;; TODO: Figure out how to use tide with Emacs and NVM.
(defun tide-config-js ()
"Configure tide mode."
(interactive)
(tide-setup)
(eldoc-mode))
;;========== Hooks =================================
(add-hook 'js-mode-hook 'editor-config-js)
(add-hook 'js-mode-hook 'completion-config-js)