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

Fix (p)ath not displaying in the minimal menu #1038

Merged
merged 1 commit into from
Sep 15, 2019
Merged

Fix (p)ath not displaying in the minimal menu #1038

merged 1 commit into from
Sep 15, 2019

Conversation

tuzz
Copy link
Contributor

@tuzz tuzz commented Sep 14, 2019

Description of Changes

The ‘copy (p)ath to clipboard’ menu item was added
recently in this pull request:
https://github.com/scrooloose/nerdtree/pull/1002/files

However, this caused the NERDTreeMinimalMenu to
display ‘copy’ instead of ‘(p)ath’ because it was
simply using the first word of the item’s text.

This change fixes that bug by using a regex to
pick out the first word beginning with ‘(’


New Version Info

  • Derive a new version number. Increment the:
    • MAJOR version when you make incompatible API changes
    • MINOR version when you add functionality in a backwards-compatible manner
    • PATCH version when you make backwards-compatible bug fixes
  • Update CHANGELOG.md, following the established pattern.
  • Tag the merge commit, e.g. git tag -a 3.1.4 -m "v3.1.4" && git push origin --tags

The ‘copy (p)ath to clipboard’ menu item was added
recently in this pull request:
https://github.com/scrooloose/nerdtree/pull/1002/files

However, this caused the NERDTreeMinimalMenu to
display ‘copy’ instead of ‘(p)ath’ because it was
simply using the first word of the item’s text.

This change fixes that bug by using a regex to
pick out the first word beginning with ‘(’
@tuzz
Copy link
Contributor Author

tuzz commented Sep 14, 2019

I'm not sure what to do regarding version numbers and changelog, am I supposed to do that or is that for maintainers? Thanks

@PhilRunninger
Copy link
Member

@tuzz Thanks for catching this. I'll take care of the version number and change log.

@PhilRunninger PhilRunninger merged commit 2eaedd8 into preservim:master Sep 15, 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.

2 participants