Visual Selection Transparency

any way to add transparency to visual selection or simulate it?
an example from msvc:

What do you mean exactly? The transparency depends on the color scheme you use.

In the above example it still shows the syntax highlighting of the words while also having a selection highlight on top, presumably via alpha blending.

for example if i tried to highlight a block of text in nvim i get the syntax highlighting overridden by the selection highlight.

As I mentioned before, transparency depends on the color scheme. In my case I use Tokyonight and there is also syntax highlighting when I select code:

Actually that’s not transparency, but background color. I’m not sure what OP wanted.

yea i guess this plugin is more than just a simple colorscheme file since it manually alpha blends.

o woops it is just setting all foreground stuff to NONE