Commit Graph

477 Commits

Author SHA1 Message Date
James McCoy
fb2f2405e6 Fix double counting of deleted lines in a ChangeDelete hunk 2013-09-26 23:48:07 -04:00
Marco Hinz
be4d622bb9 Don't reset signs when another window gets updated
References #73.
2013-09-25 11:17:52 +02:00
Marco Hinz
c299dc5c1c Git: use --no-color
ANSI escape sequences in a patch would confuse Sy. People are advised to
set their color settings to 'auto' instead of 'always', so color codes
would only be used if the output is meant for the terminal.

Thus we just ignore color.diff settings now.

References #72.
2013-09-25 01:36:08 +02:00
Marco Hinz
fcfb40c456 Avoid variable type mismatch 2013-09-16 01:29:11 +02:00
Marco Hinz
35b0b02c44 Merge pull request 70 from chlunde
Closes #70.
2013-09-15 23:01:55 +02:00
Carl Henrik Lunde
d3ead7128d Avoid useless calls to executable()
get() is not lazy and will always evaluate the expression in the default
value.
2013-09-15 23:00:04 +02:00
Marco Hinz
79bf0c4d0f Fix CVS handling 2013-09-15 18:54:41 +02:00
Marco Hinz
f084f1d599 CVS returns 1 on diff and error 2013-09-15 15:17:12 +02:00
Marco Hinz
0b6ffd8d00 Add simple directory cache 2013-09-13 01:23:05 +02:00
Marco Hinz
4d475262c3 Merge pull request 69 from pekepeke
Closes #69.
2013-09-12 09:36:46 +02:00
pekepeke
6a157ebd75 Fix backwards logic in filter() 2013-09-12 09:36:24 +02:00
Marco Hinz
9eedb00a04 Doc: only check installed VCS 2013-09-12 00:31:09 +02:00
Marco Hinz
fcf5d14460 Refactor VCS detection #2 2013-09-12 00:26:43 +02:00
Marco Hinz
5c386c7451 Merge pull request 68 from bling/performance
Closes #68.
2013-09-12 00:17:01 +02:00
Marco Hinz
a2b96beff7 Refactor VCS detection 2013-09-12 00:16:09 +02:00
Bailey Ling
3133fce524 Improve detection performance (#67) 2013-09-11 21:16:38 +00:00
Marco Hinz
f35b8dfac7 Merge pull request 66 from esneider
Closes #65.
Closes #66.
2013-09-06 17:39:07 +02:00
Dario Sneidermanis
99ef641012 Fix mapping shadowing
Use empty() instad of ! when testing for string emptiness.

if !'foo' == !'' | echo 'facepalm!' | endif
2013-09-06 17:36:30 +02:00
Marco Hinz
b91bac6b24 Remove Sy signs first before getting others
References #64.
2013-09-06 17:11:02 +02:00
Marco Hinz
da5eabe3c9 Relocate emptying of other signs dict
References #64.
2013-09-06 16:43:08 +02:00
Marco Hinz
3a8fa3fba8 Doc: perf penalty with sign overwriting 2013-09-06 15:51:57 +02:00
Marco Hinz
4167fa0373 Fix sign overwrite issue
References #64.
2013-09-06 15:34:13 +02:00
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