Updated plugins

This commit is contained in:
Amir Salihefendic committed 2019-03-08 08:04:56 -03:00
1 parent 1d42b63013
commit f50b2142bc
356 files changed
+6183 -3837

No files matched your search

@@ -85,6 +85,27 @@ function! gitgutter#toggle() abort
endif
endfunction
function! gitgutter#buffer_disable() abort
let bufnr = bufnr('')
call gitgutter#utility#setbufvar(bufnr, 'enabled', 0)
call s:clear(bufnr)
endfunction
function! gitgutter#buffer_enable() abort
let bufnr = bufnr('')
call gitgutter#utility#setbufvar(bufnr, 'enabled', 1)
call gitgutter#process_buffer(bufnr, 1)
endfunction
function! gitgutter#buffer_toggle() abort
if gitgutter#utility#getbufvar(bufnr(''), 'enabled', 1)
call gitgutter#buffer_disable()
else
call gitgutter#buffer_enable()
endif
endfunction
" }}}
function! s:setup_maps()