Marco Hinz
da02a4796b
SignifyDiff: support subversion
2018-04-15 13:01:38 +02:00
Marco Hinz
12f28b1336
Refactor cmd expansion
2018-04-13 15:01:47 +02:00
Marco Hinz
b199f9eec0
Remove unused line
2018-04-13 14:59:11 +02:00
Marco Hinz
38cb96c987
Move b:sy_info to b:sy.info
2018-04-13 14:49:57 +02:00
Marco Hinz
1ccfef5d33
Mention the skipped file
2018-04-13 13:16:30 +02:00
Marco Hinz
d9e881bd0f
SignifyDiff: cd into dir of file
...
All VCS assume slightly different things where things have to be if you're in
this directory using that command etc.
Changing to the directory of the current file avoids many pitfalls.
2018-04-13 13:01:02 +02:00
Marco Hinz
14413921fe
SignifyDiff: add verbose message
2018-04-13 12:59:58 +02:00
Marco Hinz
32a1761e42
Remove useless line
...
The line became useless as of bf099a3fe2
2018-04-13 12:39:46 +02:00
Marco Hinz
841b3f0597
SignifyDiff: support mercurial
2018-04-11 16:40:59 +02:00
Marco Hinz
28744768e6
SignifyDiff: expose g:signify_vcs_cmds_diffmode
2018-04-11 16:40:59 +02:00
Marco Hinz
46699b1df6
SignifyDiff: initial support for :SignifyDiff
...
Currently this only works for git and is not documented.
2018-04-11 16:40:59 +02:00
Danek Duvall
e76d00ccc0
Make sure that cpoptions
contains B
...
Closes #254 , #255
2018-03-26 21:32:30 +02:00
Marco Hinz
26ed57e0fe
RCS: exit value of 1 means there are changes, 2 means error
...
Fixes #251
2018-02-21 13:28:40 +01:00
Marco Hinz
d6e01780dc
Verbose: mention the file to be registered
2018-02-21 13:07:08 +01:00
shaggyrogers
e8cb5b636c
Don't save nomodifiable/readonly buffers
2018-01-28 23:54:27 +01:00
Marco Hinz
593e67cf2d
Use b:var for :SignifyFold!
...
Fixes #249 .
2017-12-24 00:16:06 +01:00
James McCoy
1a8a15d835
Merge pull request #244 from nkouevda/no-remap-feedkeys
...
MacVim: Do not remap ^L
2017-08-19 20:13:51 -04:00
Nikita Kouevda
b699eb540c
MacVim: Do not remap ^L
...
`feedkeys` remaps keys by default, so if a mapping exists for `<C-l>`,
then `call feedkeys("\<C-l>")` will not result in the desired behavior.
2017-08-19 16:43:34 -07:00
Marco Hinz
7cc32c28aa
Darcs: update arguments
...
Fixes https://github.com/mhinz/vim-signify/issues/243
2017-07-27 16:39:59 +02:00
Marco Hinz
748cb0ddab
Doc: signs must not take more than two cells
2017-07-19 16:10:59 +02:00
Marco Hinz
ed51cb2599
Signs: do not exceed two cells
...
This is only enforced for dynamically created signs, namely
g:signify_sign_delete and g:signify_sign_changedelete, if
g:signify_sign_show_count is on.
References https://github.com/mhinz/vim-signify/issues/105
2017-07-19 16:10:59 +02:00
Marco Hinz
1bdf100aad
Do not make option defaults depend on each other
...
Having default values for options that depend on another option's value is a bad
practice. Be more explicit:
g:signify_sign_show_text is ON by default
g:signify_sign_show_count is ON by default
So, people who want just background colors and no text at all in their signs
have to set both:
let g:signify_sign_show_text = 0
let g:signify_sign_show_count = 0
Before this change, only the first line was needed.
This also fixes a bug that happened with:
let g:signify_sign_show_text = 0
let g:signify_sign_show_count = 1
Removed lines wouldn't show a count whereas changed + removed lines would.
2017-07-18 16:47:03 +02:00
Allan Neal
d9918a69bc
fixes for nnoremaps
2017-06-06 21:51:45 +02:00
Marco Hinz
6e8c4b1900
README: polishing
2017-04-21 19:51:35 +02:00
Marco Hinz
952920b92d
Always set sy.updated_by
...
References #235 .
2017-04-21 13:34:02 +02:00
Marco Hinz
f39f103f55
Clear stats when there are no changes
2017-04-18 20:23:18 +02:00
Marco Hinz
11ea128b16
Clear signs when there are no changes
2017-04-18 20:17:45 +02:00
Marco Hinz
179fe50edf
Improve debug output
2017-04-18 17:18:19 +02:00
Marco Hinz
64b2170a1f
Remove all references to do_register
2017-04-18 17:15:28 +02:00
Marco Hinz
92ed727f3a
Remove caching mechanism
...
We introduced this when everything still got executed sychronously. It also
dosn't play well with multiple active VCS anymore.
2017-04-18 17:02:40 +02:00
Marco Hinz
b119f8d81b
Allow multiple active VCS
...
When you have nested repos of different VCS and you edit a file from the inner
repo, more than one VCS can return a valid diff. Only one VCS should return a
non-empty diff, though.
Once a non-empty diff is found, all other VCS get disabled to reduce overhead.
References #235 .
2017-04-18 17:00:12 +02:00
Marco Hinz
b1e58456cf
MacVim: don't use ^L in insert mode
...
References #234 .
2017-04-12 11:18:38 +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
96b3eda10e
Win/gvim: don't redraw screen if no files were given
...
References #229 .
2017-02-26 14:05:21 +01:00
Marco Hinz
ce7779198b
Restore g:signify_cursorhold_{normal,insert}
...
References #230 .
2017-02-25 22:18:44 +01:00
Marco Hinz
63efffcae7
Realtime: don't run twice on BufEnter
2017-02-24 18:16:14 +01:00
Marco Hinz
0a09008179
Remove now useless workarounds
2017-02-24 18:09:06 +01:00
Marco Hinz
9d0947952e
Avoid running detection more than once
...
Before this change, it was possible that a buffer was disabled, when Sy was run
more than once at startup, e.g. because of `BufEnter` and `FocusGained`.
The first call would start the detection and the second call would disable the
buffer, because the first call hadn't changed the VCS type from "unknown" yet.
2017-02-24 17:16:17 +01:00
Marco Hinz
0a65a0c504
Avoid useless updates
2017-02-24 12:48:35 +01:00
Marco Hinz
01bcf8afab
Win/gVim: fix "no signs at start" race
2017-02-21 17:10:48 +01:00
Marco Hinz
d155dffd9d
GUI: use :redraw for all GUIs except MacVim
2017-02-20 16:47:35 +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
88cae56c30
Simplify autocmd setup
2017-02-20 16:05:55 +01:00
Marco Hinz
bf099a3fe2
Nvim: provide cwd to jobstart()
2017-02-20 15:14:24 +01:00
Marco Hinz
61d5a48c71
Simplify has-patch condition
...
The new format is supported since 7.4.237. If a Vim doesn't recognize the
format, it's too old by definition.
2017-02-20 15:03:34 +01:00
Marco Hinz
7a639b0263
Rename callback functions
2017-02-20 14:52:24 +01:00
Marco Hinz
0908e37758
Vim: make sure all stdout is read when job exits
...
References #228 .
2017-02-20 14:47:51 +01:00