Add tide, configuration in progress
This commit is contained in:
parent
7776d68b3b
commit
a922e76b5f
3 changed files with 25 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue