Closed blutics closed 5 years ago
You can either use auto-mode-alist
or set a file local mode
variable
On Tue, Feb 26, 2019, 5:28 AM Daegun_blutics notifications@github.com wrote:
is there any way to start js files with rjsx mode??
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/felipeochoa/rjsx-mode/issues/96, or mute the thread https://github.com/notifications/unsubscribe-auth/ACnMcH4ALBZ55b2Es3RYTsBLFDGZ8sJgks5vRP5EgaJpZM4bRuO5 .
As @felipeochoa mentioned, just add the line (add-to-list 'auto-mode-alist '("\\.js\\'" . rjsx-mode))
to your .emacs or init.el file.
is there any way to start js files with rjsx mode??