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

syntax highlighting in vim command line #94

Closed
dkarter opened this issue Dec 10, 2016 · 1 comment
Closed

syntax highlighting in vim command line #94

dkarter opened this issue Dec 10, 2016 · 1 comment
Labels

Comments

@dkarter
Copy link

dkarter commented Dec 10, 2016

This is not really an issue, more of a question.

How do you get vim to syntax highlight the command line? I noticed you have :EasyAlign ... highlighted in different colors than the rest of the command in the command line.

Thanks for all your great work on the plugins I use every day!!! 💯

@junegunn
Copy link
Owner

It's not a real command-line. The plugin's just echoing some message in colors of different highlight groups and waiting for a keystroke using getchar() call.

:echohl Error | echon ':foo' | echohl WarningMsg | echon 'bar' | echohl None | call getchar()

Hope this answers your question. 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