live-command.nvim icon indicating copy to clipboard operation
live-command.nvim copied to clipboard

Tracking issue: highlighting improvements / tweaks

Open smjonas opened this issue 2 years ago • 0 comments

There are probably a million ways the highlighting algorithm can be improved. Here are some examples:

In progress

  • [ ] input: oneword, output: hey, expected highlights: a single replacement highlight created by joining multiple highlights, any deletions should be removed. This would involve detecting word boundaries. Status: in progress, see #8.

Planned

  • [ ] input: foo, output: o, expected highlights: a single replacement highlight (the suffix o should not have been truncated)

Completed

  • [X] input timestamp, _ := strconv.Atoi(line[0]), output: timestamp = strconv.Atoi(line[0]),, check highlights! Fixed in f713c59.

smjonas avatar Jul 29 '22 18:07 smjonas