Artawower / blamer.el

A git blame plugin for emacs inspired by VS Code's GitLens plugin
GNU General Public License v3.0
430 stars 15 forks source link

Question about rounded corners #43

Closed chookity-pokk closed 1 year ago

chookity-pokk commented 1 year ago

Sorry, this isn't an issue but there isn't a discussions section.

I was wondering how you managed to get rounded corners for blamer-show-commit-info? I tried looking at the code for it but am not super fluent in elisp so I wasn't able to figure it out.

Artawower commented 1 year ago

No problem, it's just a box-drawing characters https://en.wikipedia.org/wiki/Box-drawing_character

As I know, there is no way to achieve such a result with native emacs lisp functionality

This is a code for setting such glyphs https://github.com/artawower/blamer.el/blob/master/blamer.el#L152

An alternative way to achieve something similar is using something like https://github.com/rougier/svg-tag-mode

chookity-pokk commented 1 year ago

Sorry for the late response, thanks for the information!