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

Add support for metadata 'shellVariables' #225

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

cmyr
Copy link
Contributor

@cmyr cmyr commented Nov 9, 2018

This includes commits from #223; I'll rebase when that gets in. The only new commit here is a167f38.

@cmyr cmyr force-pushed the feature/metadata-shellvars branch from a167f38 to 4e0ee36 Compare November 10, 2018 21:53
Copy link
Owner

@trishume trishume left a comment

Choose a reason for hiding this comment

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

Looks good other than the semver thingy. And maybe needing to rebase on changes from discussion in other PR.

pub line_comment: Option<String>,
/// The first pair of `TM_COMMENT_START` and `TM_COMMENT_END` items in
/// `shell_variables`, if they exist.
pub block_comment: Option<(String, String)>,
Copy link
Owner

Choose a reason for hiding this comment

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

Since all the fields are public, can you add a private field below this that's like

__allow_adding_fields_without_major_semver_bump: (),

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah interesting, hadn't thought of that. done.

@cmyr cmyr force-pushed the feature/metadata-shellvars branch from 4e0ee36 to 7ccdb70 Compare November 11, 2018 06:42
This adds loading of `shellVariable` metadata, and includes convenience
access to comment related fields.
@cmyr cmyr force-pushed the feature/metadata-shellvars branch from 7ccdb70 to fcf5e03 Compare November 12, 2018 02:16
@cmyr
Copy link
Contributor Author

cmyr commented Nov 12, 2018

This is rebased and (hopefully) ready to go.

@trishume trishume merged commit b82ee31 into trishume:master Nov 12, 2018
@cmyr cmyr deleted the feature/metadata-shellvars branch November 12, 2018 07:31
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