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

Highlight Yaml keys #120

Merged
merged 1 commit into from May 5, 2018
Merged

Highlight Yaml keys #120

merged 1 commit into from May 5, 2018

Conversation

mdzhang
Copy link
Contributor

@mdzhang mdzhang commented May 2, 2018

I'm using nord-vim together w/ vim-polyglot which uses vim-yaml that identifies yamlKey as an Identifier which gets picked up by Nord as the whitish nord4_gui

Adding this makes for a much nicer bluish highlighting on the yaml keys similar to json keys

screenshot 2018-05-02 07 43 00

Copy link
Contributor

@arcticicestudio arcticicestudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Thanks for your contribution 👍

The group definition looks fine, but since this is not related to the Vim core syntax group definitions can you please create a new section within the Plugin Support -> Languages section and move?

Just add this comment header after the Markdown section (its sorted alphabetically) and then move the line below it:

" YAML
" > stephpy/vim-yaml
call s:hi("yamlKey", s:nord7_gui, "", s:nord7_term, "", "", "")

@mdzhang
Copy link
Contributor Author

mdzhang commented May 5, 2018

Updated as requested

@arcticicestudio
Copy link
Contributor

That was fast, thanks!

@arcticicestudio
Copy link
Contributor

Changelog resources

Before

After

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

Successfully merging this pull request may close these issues.

None yet

2 participants