Gutter marker next to decoration-replaced lines with a widget

I want to show my own gutter marker next to block widget that’s created through Decoration.replace

I reproduced the problem: Try CodeMirror

I’d expect widgetMarker method in my gutter to be called for the block widgets I add through Decoration.replace. But it’s not.

How can I achieve adding something in the gutter next to my block widget?

Thank you.

That was a bug. This patch should help.

Awesome, thank you!