Commit Graph

19 Commits

Author SHA1 Message Date
Andy Stewart
0c16f257d6 Allow user to turn GitGutter off and on. 2013-02-26 09:35:04 +01:00
Andy Stewart
e989037f84 Don't read the filename unnecessarily. 2013-02-25 10:43:41 +01:00
Andy Stewart
c012575fd4 Add comment. 2013-02-25 10:38:19 +01:00
Andy Stewart
24e9d4bdcd Clarify code. 2013-02-25 10:34:58 +01:00
Andy Stewart
b5c7469a15 Move function so code reads better. 2013-02-25 10:22:24 +01:00
Andy Stewart
4df8b36f54 Add comment. 2013-02-25 10:20:20 +01:00
Andy Stewart
985bbbee73 Only clear signs for current file. 2013-02-25 10:19:49 +01:00
Andy Stewart
4a51f34d5b Set foldmethod to marker. 2013-02-25 09:45:58 +01:00
Andy Stewart
b308149c93 Don't run when entering a buffer; there's no need. 2013-02-25 09:40:56 +01:00
Andy Stewart
79fa8caa6e Push diff filtering down to shell.
This should make things a little more efficient on the basis of
minimising the amount of data flowing up.
2013-02-22 12:45:03 +01:00
Andy Stewart
4bd964090f Include augroup in public interface fold. 2013-02-22 09:57:50 +01:00
Andy Stewart
ac920417b8 Only act when there is a file to act on. 2013-02-22 09:57:21 +01:00
Andy Stewart
aab9bd5ad9 Don't clobber other people's signs. 2013-02-21 16:07:02 +01:00
Andy Stewart
0049a1e72c Update only GitGutter's signs. 2013-02-21 15:18:46 +01:00
Andy Stewart
aea72fbf0f Namespace the signs. 2013-02-21 14:57:59 +01:00
Andy Stewart
f0ad2a5b6d Separate hunk iteration from processing. 2013-02-21 14:48:20 +01:00
Andy Stewart
cda4597459 Run the git commands in each file's directory.
This allows vim-gitgutter to work whatever Vim's current directory is
and whichever repos the files are in.
2013-02-21 10:38:29 +01:00
Vincent
5fae75637c Avoid error on windows
In order to avoid an error "Invalid filename", this little fix get gitgutter working on windows with msysgit
2013-02-20 14:21:57 +01:00
Andy Stewart
843ee5aed6 First draft. 2013-02-20 10:53:23 +01:00