casouri / undo-hl

Highlight undo operations so you never get lost
63 stars 7 forks source link

Installation #4

Closed LaurenceWarne closed 2 years ago

LaurenceWarne commented 2 years ago

When I see Download the package in Usage I assumed it would be on melpa or something, but it appears (?) the package needs to be downloaded manually.

Would you consider adding the package to melpa or another common package archive?

But anyway the package seems really useful so far so thanks!

jlagneau commented 2 years ago

Meanwhile, if you use straight instead of package.el and use-package, you can probably do something like this:

(use-package undo-hl
  :straight (undo-hl :type git :host github :repo "casouri/undo-hl")
  :hook ((text-mode . undo-hl-mode)
         (prog-mode . undo-hl-mode))
  :custom-face
  (undo-hl-insert ((t (:background "#B6E63E"))))
  (undo-hl-delete ((t (:background "#FB2874")))))
casouri commented 2 years ago

This is a relatively new package so it is not available on MELPA or ELPA. I'll probably put it on MELPA in the future, since many people expressed interest of using it!

LaurenceWarne commented 2 years ago

:+1: (maybe add @jlagneau 's snippet to the README?)

Closing, but feel free to re open to keep it as a reminder :slightly_smiling_face: