Possible to add a highlighter that replicates vscode gitlens current line git blame?

See this link to see what I mean.

I was looking through the highlighters docs and it seems like it might be possible to use the replace-range functionality on the newline character of the current line, and pipe in the git blame for that line (not sure on how to do that part). I don’t have much time to mess around with it right now but if someone has some pointers I might be able to flesh it out later.

It’s currently not possible to replace a range with a different length text. See https://github.com/mawww/kakoune/issues/453.

For now the gutter may be a better place for this.

2 Likes