Commit Graph

297 Commits

Author SHA1 Message Date
Marco Hinz
9ad6328f26 only update if it makes sense #2 2013-04-14 11:18:43 +02:00
Marco Hinz
6ac9bde94f only update if it makes sense 2013-04-14 09:58:59 +02:00
Marco Hinz
8b4ba9e763 remove useless buftype check 2013-04-14 09:47:06 +02:00
Marco Hinz
661eb7cedd only write buffer to disk if sensible
Only write the buffer to disk on CursorMoved / CursorMovedI, if the file
is already handled by Sy.
2013-04-13 15:36:20 +02:00
Marco Hinz
eb7bcb8c48 docs: add special case of first line deletion 2013-04-12 11:56:23 +02:00
Marco Hinz
61539459c1 remove b:signmode 2013-04-12 01:54:19 +02:00
Marco Hinz
d4c6681577 check if path is actually in list at BufDelete
Fixes a bug that was introduced by the previous commit: 610c36c
2013-04-12 01:30:57 +02:00
Marco Hinz
610c36cf04 remove buffers from list at BufDelete 2013-04-12 01:26:20 +02:00
Marco Hinz
21378728cc change function order 2013-04-12 01:11:31 +02:00
Marco Hinz
6041363822 swap statements
Prevents setting a placeholder sign on non-file buffers.

Closes #23.
2013-04-12 00:58:27 +02:00
Marco Hinz
9659a4297d remove ]c and [c when toggling off
There is no reliable way to detect a change to diff mode. Since Sy's ]c and
[c overwrite diff mode mappings they now get removed, when the plugin is
toggled off.

Closes #22.
2013-04-12 00:30:30 +02:00
Marco Hinz
7ac051b258 doc: update name of contributor 2013-04-09 06:38:47 +02:00
Marco Hinz
0fbe7f0908 merge pull request #21 from otommod
Closes pull request #21.
2013-04-07 17:24:55 +02:00
Otto Modinos
ff078a5069 fix s:sign_change_delete 2013-04-07 17:24:09 +02:00
Marco Hinz
a2ee5cf67c change version number -> 1.6 2013-04-07 15:25:46 +02:00
Marco Hinz
98e324a281 fix sign overwriting regex
Signs (from Syntastic in this case) were overwritten, although
g:signify_sign_overwrite was set to 0, because the used regex was buggy.

Add Ryan Kois as contributor.

Closes #20.
2013-04-07 14:59:33 +02:00
Marco Hinz
a9ce03c16c use vim-style modeline 2013-04-07 14:58:39 +02:00
Marco Hinz
b5f7107a35 fix handling of sign text options
These options weren't used properly, because the s:line_* functions were
overwriting the sign texts. Now we initialize them only once at plugin
start.

Added Otto Modinos as contributor. Thanks for reporting.

Closes pull request #19.
2013-04-07 12:09:23 +02:00
Marco Hinz
4f98661bf2 fix handling of bzr return values 2013-04-06 20:14:11 +02:00
Marco Hinz
48f0ec6f9e minor syntax improvement 2013-04-06 18:50:34 +02:00
Marco Hinz
e0c619058b change version number 2013-04-04 11:29:13 +02:00
Marco Hinz
0b5d262271 doc: improve readability 2013-04-04 11:27:28 +02:00
Marco Hinz
6f0cb97db2 docs: remove old g:signify_enable_cvs option 2013-04-04 11:16:58 +02:00
Marco Hinz
d41bb86243 new option: g:signify_line_highlight
You can enable line highlighting per default now.
2013-04-04 11:14:07 +02:00
Marco Hinz
45dae2e900 replace ternary operators by get() 2013-04-03 17:15:24 +02:00
Marco Hinz
af3cd9e6a9 remove useless condition 2013-04-03 15:56:17 +02:00
Marco Hinz
4c4eb4fbf4 merge pull request #18 from zhaocai
Closes pull request #18.
2013-04-03 15:50:03 +02:00
Marco Hinz
da9f829f76 do not save when not feasible 2013-04-03 15:47:12 +02:00
Marco Hinz
09912c889a simplify condition 2013-04-03 13:47:34 +02:00
Zhao Cai
542c5d03ee Fix E382:
Error detected while processing CursorHold Auto commands for "*":
E382: Cannot write, 'buftype' option is set
2013-04-03 07:03:49 -04:00
Marco Hinz
072ec99491 merge branch 'pr17' from zhaocai
Closes pull request #17.
2013-04-03 10:39:30 +02:00
Marco Hinz
88edc81bb4 docs: document update_on_bufenter option 2013-04-03 10:38:32 +02:00
Marco Hinz
c09b1d4e32 polish autocmd section 2013-04-03 10:31:37 +02:00
Zhao Cai
1721ed7624 Add g:signify_bufenter option 2013-04-03 01:32:51 -04:00
Marco Hinz
6d23d1568f update version number 2013-04-03 01:07:18 +02:00
Marco Hinz
ebd7ad7b57 check if the color inherit option is set 2013-04-03 00:56:25 +02:00
Marco Hinz
6b28933dfe add Zhao Cai as contributor 2013-04-02 20:19:58 +02:00
Marco Hinz
f6f6f90542 change filter regex for diff output
Diff output of files containing conflict markers start with '@@@'
opposed to 'normal' diff output with only '@@'.

I'm not sure if files with conflict markers should be handled by Sy, so
these lines get just ignored for now.

I'll add it to my TODO nevertheless.

Closes #16.
2013-04-02 20:09:05 +02:00
Marco Hinz
91a277dd92 add s:jump_to_next_hunk() once again 2013-04-02 16:32:10 +02:00
Marco Hinz
be6666bb84 reorganize folding text 2013-04-02 16:23:47 +02:00
Marco Hinz
38c65ee15e use full keywords 2013-04-02 16:07:23 +02:00
Marco Hinz
f53c180c61 cosmetic change in token regex 2013-04-02 16:05:52 +02:00
Marco Hinz
0682288d29 change placeholder sign text 2013-04-02 16:01:52 +02:00
Marco Hinz
c5683b1b3b prettify debug output 2013-04-02 15:35:52 +02:00
Marco Hinz
7ef9ef97d9 doc: proper alignment of tags 2013-04-02 09:45:26 +02:00
Marco Hinz
deb89247c6 change license 2013-04-02 09:36:42 +02:00
Marco Hinz
6c0ee3d04e remove check for help filetype 2013-04-01 18:20:36 +02:00
Marco Hinz
3c14f8b34b make signmode buffer-specific 2013-04-01 18:13:17 +02:00
Marco Hinz
a285f0f817 aggregate conditions 2013-04-01 18:11:27 +02:00
Marco Hinz
0c6d4bfb3a skip list for files takes absolute paths 2013-03-29 13:31:23 +01:00