parent
f93a7a8fc8
commit
22b1cf491f
@ -136,6 +136,7 @@ You can also change the highlighting classes for these lines. The defaults are:
|
||||
let g:signify_line_color_add = 'DiffAdd'
|
||||
let g:signify_line_color_delete = 'DiffDelete'
|
||||
let g:signify_line_color_change = 'DiffChange'
|
||||
let g:signify_line_color_change_delete = 'DiffChange'
|
||||
```
|
||||
|
||||
#### you can toggle the plugin per buffer
|
||||
|
@ -218,6 +218,7 @@ Example:
|
||||
let g:signify_line_color_add = 'DiffAdd'
|
||||
let g:signify_line_color_delete = 'DiffDelete'
|
||||
let g:signify_line_color_change = 'DiffChange'
|
||||
let g:signify_line_color_change_delete = 'DiffChange'
|
||||
|
||||
The highlight groups to use with line highlighting.
|
||||
|
||||
|
@ -22,6 +22,7 @@ let s:id_top = s:id_start
|
||||
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_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_delete = get(g:, 'signify_sign_delete', '_')
|
||||
@ -463,7 +464,7 @@ endfunction
|
||||
function! s:line_highlighting_enable() abort
|
||||
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 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 SignifyDeleteFirstLine text='. s:sign_delete_first_line .' texthl=SignifyDelete linehl='. s:line_color_delete
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user