mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add company-yasnippet backend to js2-mode
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user