Commit Graph

218 Commits

Author SHA1 Message Date
Marco Hinz
fa72eb2658 New function: sy#repo#get_stats()
It returns a list of numbers of additions, modifications and deletions
and is intended to be used by other plugins.
2013-08-20 16:45:29 +02:00
killphi
9dc86c9bf6 Add stats property to g:sy 2013-08-20 15:48:46 +02:00
Bailey Ling
9cbe9e1e90 Remove redundant path modification for diff on win32 2013-08-19 20:27:45 +02:00
Marco Hinz
b29cd71f6d Set encoding for plugin files
Closes #54.
2013-08-19 17:36:16 +02:00
Dario Sneidermanis
0bde67c6c8 Allow highlight groups overriding
The [default] argument is used for setting the default highlighting for a group. If highlighting has already been specified for the group the command will be ignored. Also when there is an existing link.
2013-08-17 20:57:41 -03:00
Marco Hinz
839232423b Fix quoting in darcs detection 2013-08-08 23:08:39 +02:00
Marco Hinz
9a78f90e1a Remove useless calls to executable() 2013-08-07 18:56:13 +02:00
Marco Hinz
78a96c4b49 Minor syntactic style changes 2013-08-07 15:46:37 +02:00
killphi
52d025975b Add forgotten let to fix startup up 2013-08-07 13:22:43 +02:00
killphi
43ca708c99 Add variable option to pass to VCS diff command 2013-08-07 12:59:26 +02:00
Marco Hinz
82f3be224c Check for 'p4' instead of 'perforce'
References #46.
2013-07-30 01:50:22 +02:00
Marco Hinz
747e12aed3 Add experimental perforce support 2013-07-29 21:15:07 +02:00
Marco Hinz
7ae3a0f5ff Avoid creating the useless highlight group NONE
By using the wrong :sign-define syntax, a highlighting group NONE was
created by accident.

Closes #45.
2013-07-28 20:38:38 +02:00
deris0126
3b96ea5cbe Make jumping behaviour more pragmatic
This patch makes jumps go the the first/last hunk when the given count
was bigger than the available hunks.

E.g. when there are only 2 hunks and you use 4]c, the cursor jumps to
the last hunk nevertheless. Before this patch the cursor wouldn't move
at all (which mimics the standard behaviour of ]c/[c).

Closes #41.
2013-07-21 15:21:34 +02:00
Marco Hinz
c2770af9f1 Correct comment 2013-07-19 22:33:23 +02:00
Marco Hinz
ea331d6065 Populate autoload/ 2013-07-17 12:30:58 +02:00
Marco Hinz
0718c1a2a9 Add sy#repo.vim 2013-07-17 10:14:43 +02:00
Marco Hinz
7d4759866a New sy#utils.vim 2013-07-17 09:54:03 +02:00