Browse Source

Add Pipfile mode configs

master
10sr 6 years ago
parent
commit
379b3809db
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      emacs.el

+ 8
- 0
emacs.el View File

@@ -1068,6 +1068,14 @@ found, otherwise returns nil."
(add-to-list 'auto-mode-alist (add-to-list 'auto-mode-alist
'("tox\\.ini\\'" . conf-unix-mode)) '("tox\\.ini\\'" . conf-unix-mode))


(when (autoload-eval-lazily 'toml-mode)
(add-to-list 'auto-mode-alist
'("/Pipfile\\'" . toml-mode)))

(when (autoload-eval-lazily 'json-mode)
(add-to-list 'auto-mode-alist
'("/Pipfile\\.lock\\'" . json-mode)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; buffer switching ;; buffer switching




Loading…
Cancel
Save