Compare commits
2 Commits
5650593aa5
...
2651b91b21
Author | SHA1 | Date | |
---|---|---|---|
2651b91b21 | |||
6b908cb1dd |
9
lisp/init-vcs.el
Normal file
9
lisp/init-vcs.el
Normal file
@@ -0,0 +1,9 @@
|
||||
;;; init-vcs.el --- initializes version control systems -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(load-all-files-from-dir (path-join *user-emacs-lisp-directory* "vcs"))
|
||||
|
||||
|
||||
(provide 'init-vcs)
|
||||
;;; init-vcs.el ends here
|
@@ -72,12 +72,26 @@
|
||||
:config
|
||||
;; Make sure flycheck-pos-tip is loaded.
|
||||
(require 'flycheck-pos-tip nil t))
|
||||
|
||||
;; https://github.com/gexplorer/flycheck-indicator
|
||||
;; An Emacs minor-mode to get a fancy mode line indicator for Flycheck.
|
||||
|
||||
(use-package flycheck-indicator
|
||||
:hook (flycheck-mode-hook . flycheck-indicator-mode))
|
||||
;; https://github.com/yasuyk/helm-flycheck
|
||||
;; Show flycheck errors with helm.
|
||||
|
||||
;; https://github.com/abingham/flycheck-vale
|
||||
;; Flycheck integration for the vale natural language linter.
|
||||
(use-package flycheck-vale
|
||||
:ensure t
|
||||
:quelpa(flycheck-vale
|
||||
:fetcher git
|
||||
:url "http://git.adrien.run/Adrien/flycheck-vale.git")
|
||||
:config
|
||||
(setq flycheck-vale-config-file "~/dev/perso/vale-config/.vale.ini")
|
||||
(flycheck-vale-setup))
|
||||
|
||||
(use-package helm-flycheck)
|
||||
|
||||
(global-flycheck-mode t))
|
||||
|
27
lisp/vcs/git.el
Normal file
27
lisp/vcs/git.el
Normal file
@@ -0,0 +1,27 @@
|
||||
;;; git.el --- Git integration -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(defun user--git-config ()
|
||||
"Initialize Git support."
|
||||
(message "user--git-config")
|
||||
|
||||
(use-package magit
|
||||
:ensure t
|
||||
:defer
|
||||
:config
|
||||
|
||||
;; https://github.com/dandavison/magit-delta
|
||||
;; Use delta (https://github.com/dandavison/delta) when viewing diffs in Magit
|
||||
(use-package magit-delta
|
||||
:ensure t
|
||||
:if (executable-find "delta")
|
||||
:hook (magit-mode . magit-delta-mode))
|
||||
)
|
||||
)
|
||||
|
||||
(with-executable 'git
|
||||
(user--git-config))
|
||||
|
||||
(provide 'vcs/git)
|
||||
;;; git.el ends here
|
Reference in New Issue
Block a user