parent
f93a7a8fc8
commit
22b1cf491f
@ -133,9 +133,10 @@ let g:signify_mapping_toggle_highlight = '<leader>gh'
|
|||||||
You can also change the highlighting classes for these lines. The defaults are:
|
You can also change the highlighting classes for these lines. The defaults are:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
let g:signify_line_color_add = 'DiffAdd'
|
let g:signify_line_color_add = 'DiffAdd'
|
||||||
let g:signify_line_color_delete = 'DiffDelete'
|
let g:signify_line_color_delete = 'DiffDelete'
|
||||||
let g:signify_line_color_change = 'DiffChange'
|
let g:signify_line_color_change = 'DiffChange'
|
||||||
|
let g:signify_line_color_change_delete = 'DiffChange'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### you can toggle the plugin per buffer
|
#### you can toggle the plugin per buffer
|
||||||
|
@ -215,9 +215,10 @@ Example:
|
|||||||
|
|
||||||
============-
|
============-
|
||||||
|
|
||||||
let g:signify_line_color_add = 'DiffAdd'
|
let g:signify_line_color_add = 'DiffAdd'
|
||||||
let g:signify_line_color_delete = 'DiffDelete'
|
let g:signify_line_color_delete = 'DiffDelete'
|
||||||
let g:signify_line_color_change = 'DiffChange'
|
let g:signify_line_color_change = 'DiffChange'
|
||||||
|
let g:signify_line_color_change_delete = 'DiffChange'
|
||||||
|
|
||||||
The highlight groups to use with line highlighting.
|
The highlight groups to use with line highlighting.
|
||||||
|
|
||||||
|
@ -19,9 +19,10 @@ let s:vcs_list = get(g:, 'signify_vcs_list', [ 'git', 'hg', 'svn', 'darcs'
|
|||||||
let s:id_start = 0x100
|
let s:id_start = 0x100
|
||||||
let s:id_top = s:id_start
|
let s:id_top = s:id_start
|
||||||
|
|
||||||
let s:line_color_add = get(g:, 'signify_line_color_add', 'DiffAdd')
|
let s:line_color_add = get(g:, 'signify_line_color_add', 'DiffAdd')
|
||||||
let s:line_color_delete = get(g:, 'signify_line_color_delete', 'DiffDelete')
|
let s:line_color_delete = get(g:, 'signify_line_color_delete', 'DiffDelete')
|
||||||
let s:line_color_change = get(g:, 'signify_line_color_change', 'DiffChange')
|
let s:line_color_change = get(g:, 'signify_line_color_change', 'DiffChange')
|
||||||
|
let s:line_color_change_delete = get(g:, 'signify_line_color_change_delete', 'DiffChange')
|
||||||
|
|
||||||
let s:sign_add = get(g:, 'signify_sign_add', '+')
|
let s:sign_add = get(g:, 'signify_sign_add', '+')
|
||||||
let s:sign_delete = get(g:, 'signify_sign_delete', '_')
|
let s:sign_delete = get(g:, 'signify_sign_delete', '_')
|
||||||
@ -463,7 +464,7 @@ endfunction
|
|||||||
function! s:line_highlighting_enable() abort
|
function! s:line_highlighting_enable() abort
|
||||||
execute 'sign define SignifyAdd text='. s:sign_add .' texthl=SignifyAdd linehl='. s:line_color_add
|
execute 'sign define SignifyAdd text='. s:sign_add .' texthl=SignifyAdd linehl='. s:line_color_add
|
||||||
execute 'sign define SignifyChange text='. s:sign_change .' texthl=SignifyChange linehl='. s:line_color_change
|
execute 'sign define SignifyChange text='. s:sign_change .' texthl=SignifyChange linehl='. s:line_color_change
|
||||||
execute 'sign define SignifyChangeDelete text='. s:sign_change_delete .' texthl=SignifyChange linehl='. s:line_color_change
|
execute 'sign define SignifyChangeDelete text='. s:sign_change_delete .' texthl=SignifyChange linehl='. s:line_color_change_delete
|
||||||
execute 'sign define SignifyDelete text='. s:sign_delete .' texthl=SignifyDelete linehl='. s:line_color_delete
|
execute 'sign define SignifyDelete text='. s:sign_delete .' texthl=SignifyDelete linehl='. s:line_color_delete
|
||||||
execute 'sign define SignifyDeleteFirstLine text='. s:sign_delete_first_line .' texthl=SignifyDelete linehl='. s:line_color_delete
|
execute 'sign define SignifyDeleteFirstLine text='. s:sign_delete_first_line .' texthl=SignifyDelete linehl='. s:line_color_delete
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user