diff --git a/init-template.el b/init-template.el index 62b1334..f35c1f3 100644 --- a/init-template.el +++ b/init-template.el @@ -172,6 +172,8 @@ (setq web-mode-code-indent-offset 2)) (add-hook 'web-mode-hook 'my-web-mode-hook) +(setq web-mode-content-types-alist + '(("jsx" . "\\.js[x]?\\'"))) (provide 'init) ;;; init.el ends here