Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document advanced customization of LoupeHighlight and Search highlight groups #4

Open
kyhy opened this issue Jun 15, 2016 · 3 comments
Labels

Comments

@kyhy
Copy link

kyhy commented Jun 15, 2016

When I install the plugin, all matched terms doesn't have special style as in the Loupe introduction video. Is there a special setting to enable the underline style for matched terms?

@wincent
Copy link
Owner

wincent commented Jun 15, 2016

If I recall correctly, the answer is in my dotfiles.

I liked the underline thing, so I set up a custom highlight group for LoupeHighlight (that's the bright yellow that you see in the video). And then I set Search to be a link to VisualNOS (which is the underlined styling you can see in the video).

I wasn't going to mention this in the screencast because I didn't want to make it too complicated, but thanks for bringing it up: I should either explain how to do this in the docs, or post a follow-up to the screencast.

@wincent
Copy link
Owner

wincent commented Jun 15, 2016

Note that I use Pinnacle, a tiny little plug-in that I wrote, to make a copy of the Search highlight before overwriting it with VisualNOS.

@wincent wincent changed the title All matched terms incorrectly stylized Document advanced customization of LoupeHighlight and Search highlight groups Jun 15, 2016
@wincent wincent added the chore label Jun 15, 2016
@kyhy
Copy link
Author

kyhy commented Jun 15, 2016

I'm failing at setting this up but let g:LoupeHighlightGroup='Error' helps. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants