brenoprata10 / nvim-highlight-colors

Highlight colors for neovim
654 stars 31 forks source link

[Feature Request]: Add ability to set position of inline virtual symbol #84

Closed adriankarlen closed 3 months ago

adriankarlen commented 3 months ago

Add config option to specify if the virtual symbol should appear before or after the identified color.

simonmandlik commented 3 months ago

@brenoprata10 Would you be interested in adding something like "eow" for virtual_symbol_position that would add the virtual text right after the color specification (not to the very end of the line)?

brenoprata10 commented 3 months ago

It should already work, could you give it a try and post a screenshot here?

brenoprata10 commented 3 months ago

Oh nevermind, this is not supported. I do not plan to create this logic. I will be sticking with what is available in neovim API

simonmandlik commented 3 months ago

Oh nevermind, this is not supported. I do not plan to create this logic. I will be sticking with what is available in neovim API

This should be only a matter of shifting the start for "inline" version by the color code length, no?

brenoprata10 commented 3 months ago

I am refactoring a few things today, will get to it if i have time

brenoprata10 commented 3 months ago

Just pushed the code, check the readme for instructions

brenoprata10 commented 3 months ago

Feel free to reopen this issue if you find any bugs

simonmandlik commented 3 months ago

Amazing, thanks!