Skip to content

Commit

Permalink
feat: add support to extension .res
Browse files Browse the repository at this point in the history
It will enable reason-mode to .res to ReScript
  • Loading branch information
helderberto committed Sep 24, 2020
1 parent 7cf6fbf commit 0f17a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reason-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Argument END marks the end of the function."
(setq-local parse-sexp-lookup-properties t))

;;;###autoload
(add-to-list 'auto-mode-alist '("\\.rei?\\'" . reason-mode))
(add-to-list 'auto-mode-alist '("\\.re\\(s\\||i\\)?\\'" . reason-mode))

(defun reason-mode-reload ()
"Reload Reason mode."
Expand Down

0 comments on commit 0f17a91

Please sign in to comment.