Files
.emacs.d/modules/siren-jsx.el

29 lines
565 B
EmacsLisp

;;; siren-jsx.el --- jimeh's Emacs Siren: .jsx file configuration
;;; Commentary:
;; Basic configuration for dealing with .jsx files.
;;; Code:
(require 'siren-prettier-js)
(use-package rjsx-mode
:mode "components\\/.*\\.js\\'"
:hook (rjsx-mode . siren-rjsx-mode-setup)
:init
(defun siren-rjsx-mode-setup ()
(siren-prog-mode-setup)
(prettier-js-mode)
(company-mode +1)
(subword-mode +1)
(hs-minor-mode 1)
(highlight-indentation-current-column-mode)
(hideshowvis-enable)))
(provide 'siren-jsx)
;;; siren-jsx.el ends here