Commits

Anonymous committed 4e76b89

Turn on yasnippet when entering js2-mode.

  • Participants
  • Parent commits 0a9725e

Comments (0)

Files changed (1)

               auto-mode-alist))
 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
 
+(add-hook 'js2-mode-hook '(lambda () (yas/minor-mode 1)))
+
 (setq js2-mirror-mode nil)
 (setq js2-electric-keys nil)
 (setq js2-mode-escape-quotes nil)