Add company-yasnippet backend to js2-mode
This commit is contained in:
parent
61a14fce1f
commit
46a3cbc621
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
:config
|
:config
|
||||||
(def-repl! js2-mode nodejs-repl)
|
(def-repl! js2-mode nodejs-repl)
|
||||||
(def-docset! js2-mode "js,javascript,nodejs,angularjs,express,jquery,mongoose")
|
(def-docset! js2-mode "js,javascript,nodejs,angularjs,express,jquery,mongoose")
|
||||||
(def-company-backend! js2-mode (tern))
|
(def-company-backend! js2-mode (tern yasnippet))
|
||||||
(def-electric! js2-mode :chars (?\} ?\) ?.) :words ("||" "&&"))
|
(def-electric! js2-mode :chars (?\} ?\) ?.) :words ("||" "&&"))
|
||||||
(setq-default
|
(setq-default
|
||||||
js2-skip-preprocessor-directives t
|
js2-skip-preprocessor-directives t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue