Commit Graph

155 Commits

Author SHA1 Message Date
Marco Hinz
3332ee2cd7
Doc: correct default Perforce command
Sync code and doc again.

fe8b5eb4c5 (commitcomment-32171566)
2019-02-03 12:55:40 +01:00
Marco Hinz
6c0f42f413
Doc: be more precise about when Signify event is fired 2019-01-30 12:29:01 +01:00
Eric Peters
a1ddf6d524
Fossil: don't fall back to external 'diff' tool
Nowadays Fossil supports unified output without context on its own.

Fixes #281
2019-01-25 10:23:22 +01:00
Marco Hinz
c4eb6e1469
SignifyDiff! will not open a new tab
This makes is behave like :SignifyFold.

Closes #271
2018-11-02 21:15:34 +01:00
Marco Hinz
cd8a85296d
Doc: example for using DiffText for changed lines
Closes #276
2018-11-02 20:53:05 +01:00
Marco Hinz
ce2dd937bf
Doc: mention SignColumn highlight group
References #182
2018-10-02 01:02:38 +02:00
Marco Hinz
73d467ebea
Doc: add remark about colors 2018-08-02 11:13:13 +02:00
Marco Hinz
e94764e40c
Check if ]C and [C are already mapped
Fixes #264
2018-08-01 22:42:01 +02:00
Marco Hinz
cc2b17d462
Perforce: avoid colored output on Unixes
On Unix, many people use P4DIFF=colordiff to get colored diff output with `p4
diff`. But our diff parser doesn't expect these escape sequences used for
coloring.

We now simply use empty $P4DIFF and $P4COLORS to be on the safe side.

Reference:

  36c7d22a69 (commitcomment-29924066)
2018-08-01 21:02:08 +02:00
Marco Hinz
a9fc705b9b
Doc: fix default for perforce
References #263
2018-07-25 12:18:41 +02:00
Marco Hinz
a1551dbae3
Doc: add :SignifyDiff
References #253
2018-05-03 17:37:03 +02:00
Marco Hinz
748cb0ddab Doc: signs must not take more than two cells 2017-07-19 16:10:59 +02:00
Allan Neal
d9918a69bc fixes for nnoremaps 2017-06-06 21:51:45 +02:00
Marco Hinz
9dcdb8fda9
Cleanup 2017-03-13 15:50:04 +01:00
Marco Hinz
f528cc8ec2
Doc: improve g:signify_realtime 2017-03-04 02:17:08 +01:00
Marco Hinz
b4c516cd63
Ignore :SignifyRefresh in cmdline-window
Closes #231.
2017-03-02 16:46:55 +01:00
Marco Hinz
ce7779198b
Restore g:signify_cursorhold_{normal,insert}
References #230.
2017-02-25 22:18:44 +01:00
Marco Hinz
01ec338fdb
Add User event "SignifySetup" 2017-02-20 16:42:05 +01:00
Marco Hinz
8fa3524a13
Remove g:signify_cursorhold_normal and g:signify_cursorhold_insert
If you want that behaviour, set 'autowrite' instead.

References #226.
2017-02-20 16:16:07 +01:00
Marco Hinz
e8252ba44d
Doc: update g:signify_realtime 2017-02-18 20:26:40 +01:00
Marco Hinz
5940039dcf
REAMDE: cosmetic changes 2017-02-18 20:17:17 +01:00
Marco Hinz
05f6ff91f4
New option: g:signify_realtime
By default Sy only updates signs when opening or writing a buffer that is backed
by a file on disk.

If that's too conservative to you, enable this option. It makes Sy update signs
on almost every occasion.
2017-02-18 18:06:44 +01:00
Marco Hinz
255b2a636a
Doc: add modus operandi and debug section 2017-02-17 16:21:04 +01:00
Marco Hinz
6364e8f7f2 Vim: use close_cb to trigger exit_cb
Before Vim 8.0.50, an exited job was only detected with a potentially huge
delay.

Thus, for versions smaller than 8.0.50, we add a close_cb callback that runs
job_status() which in return runs the exit_cb callback immeditely if the job was
found to be dead.

Vim patch:

    01688ad545

References: #216.
2017-02-16 15:29:41 +01:00
Marco Hinz
45a28549bd
FAQ: Line highlighting without showing signs?
References #220.
2017-02-15 21:54:55 +01:00
Marco Hinz
3f9f292d0f
FAQ: The plugin is slow!
References #190.
2016-10-05 17:59:53 +02:00
Marco Hinz
faf7a03071
New option: g:signify_sign_show_text
This makes all Signify signs use a non-breaking space as text. This is
convenient if only the background colors of the signs are important.

References #188.
2016-09-28 17:05:40 +02:00
Marco Hinz
472668fbd2 Doc: add remark about nested autocmds 2016-07-21 19:46:03 +02:00
Marco Hinz
0639b7f094 Doc: remove outdated note about <nomodeline> 2016-07-21 19:44:39 +02:00
Marco Hinz
76bde232d1 Avoid errors from older Vims that don't support <nomodeline>
The <nomodeline> flag for :doautocmd was implemented in 7.3.438. Certain
LTS distros, e.g. Ubuntu 12.04, come with even older Vim versions,
though.

Silently ignore the flag in such cases.

Closes https://github.com/mhinz/vim-signify/issues/185
2016-06-19 14:12:47 +02:00
James McCoy
3f0df1498c Trigger the User autocommand when Sy detects differences
This provides the hook needed for the request in mhinz/vim-signify#181
to disable signs but still get the stats about the detected changes.

Closes mhinz/vim-signify#181
2016-06-01 21:13:15 -04:00
Marco Hinz
a02c8793bf New option: g:signify_skip_filename_pattern
Closes #179.
2016-03-03 14:53:17 +01:00
Marco Hinz
051dc1a853 Add support for Team Foundation Server
The actual patch is courtesy of @Grueslayer. Thanks!

Closes #177.
2016-02-25 01:21:12 +01:00
Marco Hinz
a96f1a7dc7 Register non-versioned files as inactive 2016-01-15 02:04:59 +01:00
Marco Hinz
2a3dafd045 Add ]C and [C mappings 2016-01-14 03:40:52 +01:00
William Clemens
e134c152e0 Add :SignifyEnable and :SignifyDisable 2016-01-07 02:54:44 +01:00
Marco Hinz
ecb796139e Doc: remove obsolete reference to :SignifyToggleFold 2015-12-09 00:46:56 +01:00
Marco Hinz
8ecfde45ec Doc: add :SignifyFold! 2015-12-09 00:40:21 +01:00
albfan
64a6dbd5d8 Add bang option to SignifyToggleFold
Without bang open folds on a new tab, with it on current buffer
2015-12-08 13:48:07 +01:00
Marco Hinz
71ea7a6e83 Doc: remark about sy#util#shell_redirect() 2015-07-29 01:49:11 +02:00
Marco Hinz
4fdcfa033c Doc: typo 2015-07-07 01:07:41 +02:00
Marco Hinz
b592e2df9e Doc: proper quoting in vcs_cmds
References #164.
2015-07-06 22:36:34 +02:00
Marco Hinz
0c5688cccf Doc: add FAQ section + vim-flagship support 2015-06-15 18:15:29 +02:00
Marco Hinz
8c5ad74a7b Add :SignifyFold
References #118.
2015-06-02 15:12:57 +02:00
Marco Hinz
a05b780c33 Add :SignifyDebugUnknown 2015-05-26 10:59:29 +02:00
Marco Hinz
a1cfbc8b70 Perforce: use difftool modifier 2015-05-25 09:25:23 +02:00
Marco Hinz
2e1fd54601 Make :SignifyDebugDiff more robust and add it to help 2015-05-24 10:52:28 +02:00
Marco Hinz
4ed7b37205 Merge branch 'cmd-options'
This merge removes g:signify_diffoptions and replaces it by the much more
general g:signify_vcs_commands. Users can customize the entire command to be
run now.
2015-05-24 09:42:03 +02:00
Marco Hinz
092e7a0e4f Doc: remove diffoptions, add vcs_cmds 2015-05-20 14:23:29 +02:00
Marco Hinz
bd0956eee6 Remove all default mappings except for ]c / [c
References #142.
2014-11-05 14:16:44 +01:00