Skip to content

Commit

Permalink
Merge pull request #45 from Fuco1/patch-1
Browse files Browse the repository at this point in the history
Add some common files to auto-load-alist
  • Loading branch information
joshwnj authored Apr 3, 2017
2 parents e8ba0c0 + 22a2936 commit c528c77
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions json-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
(add-to-list 'auto-mode-alist '("\\.json$" . json-mode))
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.jsonld$" . json-mode))
;;;###autoload
(add-to-list 'auto-mode-alist (cons (rx (or
".babelrc"
".bowerrc"
) eos)
'json-mode))

;;;###autoload
(defun json-mode-show-path ()
Expand Down

0 comments on commit c528c77

Please sign in to comment.