Commit Graph

297 Commits

Author SHA1 Message Date
Marco Hinz
16359f44f2 Put hl group linking into a function 2013-07-08 11:17:11 +02:00
Marco Hinz
abdd63063c Fix wipeout error
Closes #38.
2013-07-08 02:13:39 +02:00
Marco Hinz
5dd80d421b Echomsg won't interpret unprintable characters 2013-07-05 11:36:23 +02:00
Marco Hinz
9a42020f53 Bump to 1.9 2013-07-04 13:06:08 +02:00
Marco Hinz
282262cba6 New option: g:signify_disable_by_default
You can choose to disable Sy by default now. You can enable it anytime
via :SignifyToggle (or the default mapping: <leader>gt).

Closes #34.
2013-07-04 12:28:18 +02:00
Marco Hinz
3d2d7afcf6 Docs: update hunk jumping 2013-07-04 11:52:28 +02:00
Marco Hinz
15b88e811b Merge pull request 36 from @jamessan
Closes #36.
2013-07-04 11:45:57 +02:00
James McCoy
93006d94a3 Make "jump to hunk" behave like the builtin ]c/[c
Instead of using the sign id as the primary piece of data, store
information on a per-hunk granularity.  A hunk has a start/end line as
well as a set of sign ids that have been placed within those lines.

This makes moving to the start of the next/previous hunk, as per the
behavior of the standard `]c`/`[c` bindings, pretty straight forward --
a simple filter to find relevant hunks, and then grab the first sign id.
2013-07-04 01:49:08 -04:00
Marco Hinz
3202db8c70 Showcolors: proper cleanup 2013-07-03 20:06:26 +02:00
Marco Hinz
a268d48655 Add showcolors.bash 2013-07-03 17:23:38 +02:00
Marco Hinz
039f361ff7 Heavily reduce compexity by removing color options
This will be the first backwards incompatible commit for Sy for the sake
of simplicity.

For more information see:  :help signify-colors
2013-07-03 17:01:51 +02:00
Marco Hinz
9e4de23259 Fix SignifyDeleteChanged sign setting
Closes #33.
2013-07-02 11:05:42 +02:00
Marco Hinz
0bf4514308 Update signify.gif 2013-06-25 11:59:25 +02:00
Marco Hinz
32f70cac6d Merge branch 'ext-signs' 2013-06-24 11:27:53 +02:00
Marco Hinz
be483c494a README: update 2013-06-22 15:17:39 +02:00
Marco Hinz
7b42403429 Doc: indicate default values 2013-06-22 15:11:25 +02:00
Marco Hinz
30a66c9de3 Doc: typo 2013-06-22 13:57:34 +02:00
Marco Hinz
ae799c152f Fix BufDelete racing problem
In certain cases the code that gets triggered by BufDelete would use
the wrong s:path due to a racing problem.

Thanks to @techlivezheng for the feedback.

Closes #30.
2013-06-22 11:47:50 +02:00
Marco Hinz
2f43b45009 README: add animated gif 2013-06-07 19:54:50 +02:00
Marco Hinz
6d00d4707d Correct g:signify_difftool check 2013-06-07 17:57:51 +02:00
Marco Hinz
413dd15e4b Docs: explain new delete signs 2013-06-07 11:37:21 +02:00
Marco Hinz
476f22ac48 Merge branch 'ext-signs' 2013-06-07 09:02:06 +02:00
Marco Hinz
925c3aee29 README: add difftool option 2013-06-07 08:56:47 +02:00
Marco Hinz
1ec3e34109 Bump to 1.8 2013-06-07 08:45:17 +02:00
Marco Hinz
7895cb92eb Show number of deleted lines 2013-06-07 08:38:41 +02:00
Marco Hinz
e1cbc2082e New option: g:signify_difftool
Some VCS rely on an external diff tool, because they don't support the
-U0 flag natively. Most of the time that's the standard 'diff' utility.

But fritzophrenic was reporting that even a GNU diff won't always be
installed as 'diff', but e.g. as 'gnudiff' instead.

You can set the external diff tool now.

Closes #29.
2013-06-07 01:03:34 +02:00
Marco Hinz
068c0e894d Write buffer when 'update_on_bufenter' is enabled
References #28.
2013-06-06 18:03:02 +02:00
Marco Hinz
f1a82a8654 Readd BufEnter for setting s:path 2013-06-06 13:08:15 +02:00
Marco Hinz
2e3799bd43 CONTRIBUTING: update 2013-06-06 12:42:30 +02:00
Marco Hinz
24840c28f3 Disable 'update_on_bufenter' per default 2013-06-06 12:39:24 +02:00
Marco Hinz
c2d062ab12 Avoid unnecessary sign redrawing
References #28.
2013-06-06 12:35:49 +02:00
Marco Hinz
882ba6e282 Add CONTRIBUTING.md 2013-05-21 22:57:42 +02:00
Marco Hinz
539951e105 Use synIDtrans() for retrieving colors 2013-05-21 22:57:04 +02:00
Marco Hinz
0b03bc9edf merge pull request #26 from esneider
Closes #26.
2013-05-02 18:11:38 +02:00
Dario Sneidermanis
80f0b0d4f5 check if s:path actually exists on BufDelete
This fixes a bug where starting Vim from a directory would produce the
following error:

Error detected while processing BufDelete Auto commands for "*":
E121: Undefined variable: s:path E116: Invalid arguments for function
<SNR>62_stop
2013-05-02 18:09:41 +02:00
Marco Hinz
22b1cf491f make HL class for changed_delete configurable
Closes #25.
2013-04-25 14:37:47 +02:00
Marco Hinz
f93a7a8fc8 readme: add note about Sy 2.0 2013-04-22 16:46:31 +02:00
Marco Hinz
9d37da9c95 readme: typo 2013-04-19 23:18:26 +02:00
Marco Hinz
5086e240db use NONE instead of none 2013-04-18 14:01:38 +02:00
Marco Hinz
c4955656ad make font weight configurable
People using themes for their terminal emulators that do a lot of
voodoo, could experience sign color problems because of the font being
bold by default.

Thus a new variable was introduced: g:signify_sign_weight.

Fixes #24.
2013-04-18 06:59:26 +02:00
Marco Hinz
efe747fda6 change version number -> 1.7 2013-04-16 11:39:21 +02:00
Marco Hinz
eaf722e5bf add support for fossil 2013-04-16 11:37:57 +02:00
Marco Hinz
72393c1ee6 doc: clarify on the importance of the vcs_list 2013-04-16 09:30:10 +02:00
Marco Hinz
daaf85f60f readme: add change_delete 2013-04-15 22:36:15 +02:00
Marco Hinz
95add7a181 improve setting of placeholder sign 2013-04-14 16:25:02 +02:00
Marco Hinz
7c687e7a3c Revert "improve setting of placeholder sign"
This reverts commit 9bbbf83458.
2013-04-14 15:34:22 +02:00
Marco Hinz
9bbbf83458 improve setting of placeholder sign 2013-04-14 13:34:33 +02:00
Marco Hinz
668bdebad2 use nested autocmds 2013-04-14 12:26:35 +02:00
Marco Hinz
1ba2062e73 fix BufDelete hook 2013-04-14 12:09:02 +02:00
Marco Hinz
b095359b99 remove filewritable() check 2013-04-14 11:27:47 +02:00