Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Don't run when committing with git (editing .git/COMMIT_MSG) #14

Closed
chearon opened this issue Jul 12, 2017 · 2 comments
Closed

Don't run when committing with git (editing .git/COMMIT_MSG) #14

chearon opened this issue Jul 12, 2017 · 2 comments

Comments

@chearon
Copy link
Contributor

chearon commented Jul 12, 2017

This would be nice to have, maybe check if the path has .git in it on BufRead or check for ft=gitcommit or something.

@davidosomething
Copy link
Contributor

this should be able to handle that:
f3befbf#diff-04c6e90faac2675aa89e2176d2eec7d8R60

you may need to create a gitcommit filetype if you don't have one

@chearon
Copy link
Contributor Author

chearon commented Jul 12, 2017

Should have thought to look for an option. Thanks!

@chearon chearon closed this as completed Jul 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants