Remove redundant config & auto-mode-alist entries

Much of this config is done in package autoloads, and now that
auto-mode-alist is cached in doom-package-alist (after reading autoload
files), we can save some space by removing redundant config.
This commit is contained in:
Henrik Lissner 2018-05-14 20:47:53 +02:00
parent a631c10d05
commit 8cab2f19fd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 17 additions and 39 deletions

View file

@ -1,18 +1,14 @@
;;; feature/version-control/+git.el -*- lexical-binding: t; -*-
;; These don't need `def-package!' blocks because they've already been set up by
;; `doom-initialize'.
(autoload 'gitconfig-mode "gitconfig-mode" nil t)
(autoload 'gitignore-mode "gitignore-mode" nil t)
(when (featurep! :feature evil)
(add-hook 'git-commit-mode-hook #'evil-insert-state))
(def-package! gitconfig-mode
:mode "/\\.?git/?config$"
:mode "/\\.gitmodules$")
(def-package! gitignore-mode
:mode "/\\.gitignore$")
(def-package! git-gutter-fringe
:defer t
:init