Update config for tern to work properly
This commit is contained in:
parent
c48d9754c6
commit
14e4e9642a
3 changed files with 4 additions and 2 deletions
1
20web.el
1
20web.el
|
|
@ -1,5 +1,6 @@
|
|||
;; Use js2-mode for javascript editing
|
||||
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.json\\'" . js2-mode))
|
||||
|
||||
;; Tern is used for completion
|
||||
(add-hook 'js2-mode-hook 'tern-mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue