select on word

Hey, thanks for this amazing project!

I have some codes have repeated words, like:
“hello world, hello world, hello world”
when I select on the first “hello”, all the three “hello” is highlighted, is there any config that make sure the highlight is on the target i selected, not all three “hello”?

Thanks a lot!

I think what you’re seeing is the highlightSelectionMatches extension, which is included in the basic setup. Create your own custom configuration without that, and the highlighting should be gone.