Commit Graph

355 Commits

Author SHA1 Message Date
Marco Hinz
52e7f7902d Merge pull request #63 from bling/stats
Reset stats when signs are cleared
2013-08-31 13:08:02 -07:00
Bailey Ling
a8f67e0f0f Reset stats when signs are cleared 2013-08-26 15:52:29 +00:00
Marco Hinz
3c370e93c0 Change init stats for disabled plugin 2013-08-22 19:06:02 +02:00
Marco Hinz
273fbfc63a Reset stats when the plugin is toggled off 2013-08-22 18:58:37 +02:00
Marco Hinz
d496a8dc76 Fix problem on :SignifyToggleHighlight
It was possible to run the command before the variable
signify_line_highlight was set. It's disabled by default now.

Closes #59.
2013-08-21 19:13:03 +02:00
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
Marco Hinz
09c7039f7c Merge pull request 58 from killphi 2013-08-20 15:49:14 +02:00
killphi
9dc86c9bf6 Add stats property to g:sy 2013-08-20 15:48:46 +02:00
Marco Hinz
fcb3fc5ded Merge pull request 55 from bling
Closes #55.
2013-08-19 20:28:26 +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
Marco Hinz
50b7780e0d Merge pull request #52 from esneider/patch-1
Allow highlight groups overriding
2013-08-18 06:02:24 -07: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
b53043de80 New option: signify_update_on_focusgained 2013-08-13 08:09:02 +02: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
884622d5ef Merge branch 'diffoptions'
Closes #49.
2013-08-07 15:47:31 +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
9ffa0d3690 Doc: changed line concerning Twitter 2013-08-04 19:05:16 +02:00
Marco Hinz
276fdbcc69 Use MIT license
Tom Preston-Werner's keynote at OSCON 2013 convinced me that the MIT
license is the proper license for this plugin.
2013-08-02 12:43:22 +02:00
Marco Hinz
c916c03210 Improve 'disabled by default' behaviour
Closes #47.
2013-08-01 11:40:41 +02:00
Marco Hinz
82f3be224c Check for 'p4' instead of 'perforce'
References #46.
2013-07-30 01:50:22 +02:00
Marco Hinz
c79625a18c Merge branch 'perforce-support'
Closes #46.
2013-07-30 01:27:26 +02:00
Marco Hinz
4683703ad8 Docs: add perforce 2013-07-30 01:27:05 +02:00
Marco Hinz
747e12aed3 Add experimental perforce support 2013-07-29 21:15:07 +02:00
Marco Hinz
c4df9a3895 Improve cursorhold handling 2013-07-29 16:53:51 +02:00
Marco Hinz
a1668bab51 Avoid creating the useless highlight group NONE #2
I forgot to change one line..

References #45.
2013-07-29 15:09:00 +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
Marco Hinz
2d0653d61b Docs: add Twitter handle 2013-07-22 20:39:35 +02:00
Marco Hinz
9733f6cfac Improve jumping once again
References #4.
2013-07-22 00:21:34 +02:00
deris0126
4b1dc081d7 Do not overwrite already mapped keys
Don't set <plug> mappings twice and don't set them at all if the target
keys are already mapped.

Closes 42.
2013-07-21 18:51:00 +02:00
deris0126
6df6dd1eb7 Fix jumping if no count is specified for commands
References #40.

Closes #43.
2013-07-21 17:55:19 +02:00
Marco Hinz
6f95251190 Merge branch 'fix-jumping' 2013-07-21 15:22:00 +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
deris0126
f550254e33 Fix wrong jump if no count is specified
If jump next hunk with no count, it move last hunk of below hunks.

v:count step is 0, 2, 3, 4..., so if no count is specified, next hunk is
-1(this is last hunk of below hunks).  Because of above reason, I change
to use v:count1 instead of v:count.  v:count1 step is 1, 2, 3, 4... .

Closes #40.
2013-07-21 14:23:29 +02:00
Marco Hinz
c2770af9f1 Correct comment 2013-07-19 22:33:23 +02:00
Marco Hinz
0b337dd38e Don't sy diffing buffers 2013-07-17 13:45:06 +02:00
Marco Hinz
cdc3bd338c Merge branch 'modularisation' 2013-07-17 12:51:37 +02:00
Marco Hinz
7d56e9aac1 Minor corrections 2013-07-17 12:44:21 +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
Marco Hinz
b28fbe2625 New: s:repo_get_stat_git() 2013-07-17 09:23:29 +02:00
Marco Hinz
2c192d6ada Merge accurev support
Closes #39.
2013-07-10 23:14:18 +02:00
Marco Hinz
381f003d18 README: add accurev 2013-07-10 23:12:13 +02:00
James McCoy
e9747e791a Add support for accurev 2013-07-10 16:08:11 -04:00
Marco Hinz
be2d7290ca Gitignore: update 2013-07-09 07:37:03 +02:00
Marco Hinz
d6086e769a Docs: minor corrections 2013-07-09 07:28:03 +02:00