rougier / svg-tag-mode

A minor mode for Emacs that replace keywords with nice SVG labels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some suggestion

tsuu32 opened this issue · comments

Hi,
thanks for this very nice package!
Using SVG makes Emacs more elegant😍

I tried example.el and found some suggestions.

  1. svg-tag-mode.el should have (require 'subr-x) because of string-trim.
  2. Why making 2 rectangles? :stroke and :stroke-widthcan be used for just 1 rectangle. (or you think this is less elegant?)

Thanks.

Thanks.

  1. I just forgot. Can you make a PR?
  2. Exactly. I tried with the stroke and the rendering was far from satisfying (too heavy in the corners) and ended up with the double rectangle.