Magit doesn't need, or use the elpaca path.
This commit is contained in:
parent
60c2306e20
commit
486e24092a
3 changed files with 1940 additions and 5 deletions
14
README.org
14
README.org
|
|
@ -487,7 +487,9 @@ Might as well highlight the parentheses to make them easier to spot.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package apheleia
|
(use-package apheleia
|
||||||
:config
|
:config
|
||||||
(apheleia-global-mode +1))
|
(apheleia-global-mode +1)
|
||||||
|
(setf (alist-get 'c-ts-mode apheleia-mode-alist) '(clang-format))
|
||||||
|
(setf (alist-get 'c++-ts-mode apheleia-mode-alist) '(clang-format)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Indentation Level
|
** Indentation Level
|
||||||
|
|
@ -1563,7 +1565,6 @@ forge support really.
|
||||||
:after (transient)
|
:after (transient)
|
||||||
:bind (("C-c M" . magit-dispatch))
|
:bind (("C-c M" . magit-dispatch))
|
||||||
:custom
|
:custom
|
||||||
(magit-repository-directories (list (cons elpaca-repos-directory 1)))
|
|
||||||
(magit-diff-refine-hunk 'all)
|
(magit-diff-refine-hunk 'all)
|
||||||
:config
|
:config
|
||||||
(transient-bind-q-to-quit))
|
(transient-bind-q-to-quit))
|
||||||
|
|
@ -1575,7 +1576,7 @@ forge support really.
|
||||||
** Consult Github Integration
|
** Consult Github Integration
|
||||||
|
|
||||||
In an effort to reduce switching to the browser, or searching through
|
In an effort to reduce switching to the browser, or searching through
|
||||||
repositories in general... I'm using [[https://github.com/armindarvish/consult-gh][consult-gh]].
|
repositories in general I've chosen to use [[https://github.com/armindarvish/consult-gh][consult-gh]].
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package consult-gh
|
(use-package consult-gh
|
||||||
|
|
@ -1632,6 +1633,10 @@ the package.
|
||||||
;; if you want which-key integration
|
;; if you want which-key integration
|
||||||
(lsp-mode . lsp-enable-which-key-integration))
|
(lsp-mode . lsp-enable-which-key-integration))
|
||||||
:commands lsp-deferred
|
:commands lsp-deferred
|
||||||
|
:custom
|
||||||
|
;; Let apheleia handle formatting; disable LSP's competing formatters
|
||||||
|
(lsp-enable-on-type-formatting nil)
|
||||||
|
(lsp-before-save-edits nil)
|
||||||
:config
|
:config
|
||||||
(setq lsp-elixir-server-command '("elixir-ls")))
|
(setq lsp-elixir-server-command '("elixir-ls")))
|
||||||
|
|
||||||
|
|
@ -1695,6 +1700,9 @@ bother with an explanation on each.
|
||||||
|
|
||||||
;; C
|
;; C
|
||||||
(use-feature c-ts-mode
|
(use-feature c-ts-mode
|
||||||
|
:custom
|
||||||
|
(c-ts-mode-indent-offset 2)
|
||||||
|
(c-ts-mode-indent-style 'k&r)
|
||||||
:config
|
:config
|
||||||
(with-eval-after-load 'c-ts-mode
|
(with-eval-after-load 'c-ts-mode
|
||||||
(setq-local treesit-primary-parser 'c)))
|
(setq-local treesit-primary-parser 'c)))
|
||||||
|
|
|
||||||
1928
README.org~
Normal file
1928
README.org~
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -13,7 +13,6 @@ forge support really.
|
||||||
:after (transient)
|
:after (transient)
|
||||||
:bind (("C-c M" . magit-dispatch))
|
:bind (("C-c M" . magit-dispatch))
|
||||||
:custom
|
:custom
|
||||||
(magit-repository-directories (list (cons elpaca-repos-directory 1)))
|
|
||||||
(magit-diff-refine-hunk 'all)
|
(magit-diff-refine-hunk 'all)
|
||||||
:config
|
:config
|
||||||
(transient-bind-q-to-quit))
|
(transient-bind-q-to-quit))
|
||||||
|
|
@ -25,7 +24,7 @@ forge support really.
|
||||||
** Consult Github Integration
|
** Consult Github Integration
|
||||||
|
|
||||||
In an effort to reduce switching to the browser, or searching through
|
In an effort to reduce switching to the browser, or searching through
|
||||||
repositories in general... I'm using [[https://github.com/armindarvish/consult-gh][consult-gh]].
|
repositories in general I've chosen to use [[https://github.com/armindarvish/consult-gh][consult-gh]].
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package consult-gh
|
(use-package consult-gh
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue