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

A Couple Fixes, Tweaks and a Feature #14

Merged
merged 3 commits into from
Aug 27, 2013
Merged

A Couple Fixes, Tweaks and a Feature #14

merged 3 commits into from
Aug 27, 2013

Conversation

amadeus
Copy link

@amadeus amadeus commented Aug 27, 2013

A couple things in this pull request:

  1. I fixed some whitespace inconsistencies throughout the file (for example, the use of tabs for alignment in the HiLink definitions when no other tabs exist in the file) and cleaned up some trailing whitespace.
  2. Renamed the Quote matchgroup to jsonQuote, then HiLink'd that back to Quote. This provides colorscheme maintainers a finer level of granularity with their themes if they so prefer.
  3. Added jsonNoise group that targets : and ,, and mapped it back Noise

* Tabs were used to layout the hilink stuff, now it's just spaces
* A bit of trailing whitespace was removed in various areas
* I also HiLink'd jsonQuote back to Quote for backwards compatibility.

I think it's better practice to match to a language specific highlight
group, then link that back to a major group as it affords colorscheme
designers more control.
This gives a specific highlight group to `:` and `,` characters.
elzr added a commit that referenced this pull request Aug 27, 2013
Fixed whitespace incosistencies, jsonQuote matchgroup renaming, and new jsonNoise grouping
@elzr elzr merged commit 679d6c2 into elzr:master Aug 27, 2013
@amadeus amadeus deleted the tweaks branch August 27, 2013 02:34
@elzr
Copy link
Owner

elzr commented Aug 27, 2013

Thanks for the tweaks @amadeus!

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

Successfully merging this pull request may close these issues.

2 participants