diff --git a/plugin/signify.vim b/plugin/signify.vim index f3cc5da..e3a6221 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -100,7 +100,7 @@ xnoremap (signify-motion-outer-visual) :call sy#util#hunk_t " Function: save {{{1 function! s:save() - if exists('b:sy') && b:sy.active && &modified + if exists('b:sy') && b:sy.active && &modified && &modifiable && ! &readonly write endif endfunction