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 missing editor/folder specific title vars #1093

Merged
merged 5 commits into from
Dec 27, 2019

Conversation

amiralies
Copy link
Contributor

See #880

@claassistantio
Copy link

claassistantio commented Dec 20, 2019

CLA assistant check
All committers have signed the CLA.

@amiralies
Copy link
Contributor Author

I also refactored nested structure of the getTemplateVariables to make it more readable


let dirty =
Option.map(Core.Buffer.isModified, buffer)
|> (
Copy link
Member

Choose a reason for hiding this comment

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

I like the way you refactored out the withTag method and pipe into fun here - nice! 👍

|> Option.map(Filename.dirname)
|> Option.bind(fp =>
switch (rootPath) {
| Some((_, base)) => Some(Path.toRelative(~base, fp))
Copy link
Member

Choose a reason for hiding this comment

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

Looks like the CI was failing because it expected ~base to be a named parameter. I made that quick change - 🤞 it passes now.

@amiralies
Copy link
Contributor Author

@bryphe Should i re-run checks manually?

@bryphe
Copy link
Member

bryphe commented Dec 27, 2019

@amiralies - sorry about that, indeed the failure looks unrelated - kicking off another run

@bryphe
Copy link
Member

bryphe commented Dec 27, 2019

/azp run

@bryphe
Copy link
Member

bryphe commented Dec 27, 2019

Phew, build is green - thank you for the contribution, @amiralies !

@bryphe bryphe merged commit 66066d8 into onivim:master Dec 27, 2019
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.

3 participants