Commit Graph

20 Commits

Author SHA1 Message Date
Marco Hinz
1499f548a2 Improve repo detection
Prior to this patch a VCS was only detected by checking if a potential
diff was empty or not. Now the combination of return value and diff is
checked, so it detects an underlying VCS properly even when there are no
changes.

This can save many useless calls to the wrong version control systems.

Simple test:

 - open a version-controlled file without any changes
 - :SyDebug should show the correct VCS now (instead of 'unknown')

Closes #82.
2013-11-03 19:31:46 +01:00
Marco Hinz
ec4d88eb1c Change default value for sign overwriting
References #81.
2013-10-30 12:16:07 +01:00
Marco Hinz
c2cce93b13 Change warning message for sign overwriting
References #81.
2013-10-30 12:12:54 +01:00
Marco Hinz
531d3abd87 Remove misplaced modeline 2013-10-02 14:56:01 +02:00
Marco Hinz
50496311c5 Remove guards from autoload files 2013-09-30 10:22:20 +02:00
Marco Hinz
a9284f363c Move modelines to the top 2013-09-30 10:19:31 +02:00
Marco Hinz
5f36c16ff5 Test if 'sign unplace *' is supported 2013-09-30 09:40:46 +02:00
Marco Hinz
0b6ffd8d00 Add simple directory cache 2013-09-13 01:23:05 +02:00
Marco Hinz
b91bac6b24 Remove Sy signs first before getting others
References #64.
2013-09-06 17:11:02 +02: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
killphi
9dc86c9bf6 Add stats property to g:sy 2013-08-20 15:48:46 +02:00
Marco Hinz
b29cd71f6d Set encoding for plugin files
Closes #54.
2013-08-19 17:36:16 +02:00
Marco Hinz
c916c03210 Improve 'disabled by default' behaviour
Closes #47.
2013-08-01 11:40:41 +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
9733f6cfac Improve jumping once again
References #4.
2013-07-22 00:21:34 +02:00
Marco Hinz
0b337dd38e Don't sy diffing buffers 2013-07-17 13:45:06 +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