Skip to content

Commit

Permalink
Enable elixir-mode by default when opening mix.lock file.
Browse files Browse the repository at this point in the history
  • Loading branch information
wingyplus committed Aug 24, 2021
1 parent 6bbc1e5 commit 8e0e870
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elixir-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,8 @@ just return nil."
(progn
(add-to-list 'auto-mode-alist '("\\.elixir\\'" . elixir-mode))
(add-to-list 'auto-mode-alist '("\\.ex\\'" . elixir-mode))
(add-to-list 'auto-mode-alist '("\\.exs\\'" . elixir-mode)))
(add-to-list 'auto-mode-alist '("\\.exs\\'" . elixir-mode))
(add-to-list 'auto-mode-alist '("mix\\.lock" . elixir-mode)))

(provide 'elixir-mode)

Expand Down

0 comments on commit 8e0e870

Please sign in to comment.