Open snowman opened 5 years ago
Wondering if this feature was considered? Doesn't seem to be in current master branch.
In addition to @snowman's original example, matching synonyms is another use-case. It would be great to have a single symbol overlay on a regex, for example AB-?16\|XYZ
, which matches three synonyms.
One possible UI would be:
Wanted
Like
highlight-regexp
, but with overlay functionality.Reproduction steps
sample code extracted for illustration from https://raw.githubusercontent.com/bbatsov/prelude/master/utils/installer.sh
When overlay string
PRELUDE_INSTALL_DIR
inside"$PRELUDE_INSTALL_DIR"
withsymbol-overlay-put
, it would not highlight$PRELUDE_INSTALL_DIR
inside"$PRELUDE_INSTALL_DIR/savefile"