chore: fix Vuepress version
This commit is contained in:
parent
4e7e98c28b
commit
df301c72e1
@ -1438,9 +1438,9 @@ Magit and bug [[https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62093][62093]] of
|
|||||||
display in the Magit buffer a list of TODOs found in the current
|
display in the Magit buffer a list of TODOs found in the current
|
||||||
project to remind you of what to do next.
|
project to remind you of what to do next.
|
||||||
|
|
||||||
First, let’s se tup our todo keywords with ~hl-todo~. A good few todo
|
First, let’s se tup our todo keywords with =hl-todo=. A good few todo
|
||||||
keywords are already defined in the ~hl-todo-keyword-faces~ variable.
|
keywords are already defined in the =hl-todo-keyword-faces= variable.
|
||||||
Why not use them? ~hl-todo-mode~ enables fontlock highlight of these
|
Why not use them? =hl-todo-mode= enables fontlock highlight of these
|
||||||
keywords in a buffer. Let’s enable this mode globally.
|
keywords in a buffer. Let’s enable this mode globally.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package hl-todo
|
(use-package hl-todo
|
||||||
@ -1456,10 +1456,10 @@ keywords in a buffer. Let’s enable this mode globally.
|
|||||||
"p" #'hl-todo-previous))
|
"p" #'hl-todo-previous))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
We can now configure properly ~magit-todos~. Notice my custom function
|
We can now configure properly =magit-todos=. Notice my custom function
|
||||||
hooked to ~magit-mode-hook~. This is because this package tries to find
|
hooked to =magit-mode-hook=. This is because this package tries to find
|
||||||
TODOs in all files in the current project, and my yadm repository’s
|
TODOs in all files in the current project, and my yadm repository’s
|
||||||
root is my ~$HOME~. So, yeah, no ~magit-todos~ in yadm.
|
root is my =$HOME=. So, yeah, no =magit-todos= in yadm.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package magit-todos
|
(use-package magit-todos
|
||||||
:straight (:build t)
|
:straight (:build t)
|
||||||
@ -1478,17 +1478,16 @@ deactivate `magit-todos-mode', otherwise enable it."
|
|||||||
(csetq magit-todos-ignore-case t))
|
(csetq magit-todos-ignore-case t))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Finally, it is also possible to use Gitflow’s framework with Magit
|
Finally, =git-cliff= generates changelogs within Magit itself using [[https://github.com/orhun/git-cliff][=git-cliff=]].
|
||||||
with ~magit-gitflow~:
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package magit-gitflow
|
(use-package git-cliff
|
||||||
:defer t
|
:straight (:build t :type git :host github :repo "liuyinz/git-cliff.el")
|
||||||
:after magit
|
:after (magit)
|
||||||
:straight (magit-gitflow :build t
|
:config
|
||||||
:type git
|
(with-eval-after-load 'magit-tag
|
||||||
:host github
|
(transient-append-suffix 'magit-tag
|
||||||
:repo "jtatarik/magit-gitflow")
|
'(1 0 -1)
|
||||||
:hook (magit-mode . turn-on-magit-gitflow))
|
'("c" "changelog" git-cliff-menu))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Forge
|
*** Forge
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
"author": "Lucien Cartier-Tilet <lucien@phundrak.com>",
|
"author": "Lucien Cartier-Tilet <lucien@phundrak.com>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vuepress": "2.0.0-beta.67",
|
"vuepress": "2.0.0-beta.63"
|
||||||
"vuepress-vite": "^2.0.0-beta.67"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vuepress-plugin-remove-html-extension": "^0.1.0"
|
"vuepress-plugin-remove-html-extension": "^0.1.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user