motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 39f9e2d722ce5f53d10fffeef4eb537723558225 (tree)
parent a45e2c6d577ca3ec6c10ed82465aa9650316f70c
Author: Tim Pope <code@tpope.net>
Date:   Tue,  3 Sep 2019 20:20:33 -0400

Move IO functions with rest of API

Diffstat:
Mplugin/fugitive.vim | 34+++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -278,6 +278,23 @@ function! s:ProjectionistDetect() abort endif endfunction +let g:io_fugitive = { + \ 'simplify': function('fugitive#simplify'), + \ 'resolve': function('fugitive#resolve'), + \ 'getftime': function('fugitive#getftime'), + \ 'getfsize': function('fugitive#getfsize'), + \ 'getftype': function('fugitive#getftype'), + \ 'filereadable': function('fugitive#filereadable'), + \ 'filewritable': function('fugitive#filewritable'), + \ 'isdirectory': function('fugitive#isdirectory'), + \ 'getfperm': function('fugitive#getfperm'), + \ 'setfperm': function('fugitive#setfperm'), + \ 'readfile': function('fugitive#readfile'), + \ 'writefile': function('fugitive#writefile'), + \ 'glob': function('fugitive#glob'), + \ 'delete': function('fugitive#delete'), + \ 'Real': function('FugitiveReal')} + augroup fugitive autocmd! @@ -340,20 +357,3 @@ augroup END let s:addr_other = has('patch-8.1.560') ? '-addr=other' : '' exe 'command! -bang -nargs=? -range=-1' s:addr_other '-complete=customlist,fugitive#Complete G exe fugitive#Command(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>)' exe 'command! -bang -nargs=? -range=-1' s:addr_other '-complete=customlist,fugitive#Complete Git exe fugitive#Command(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>)' - -let g:io_fugitive = { - \ 'simplify': function('fugitive#simplify'), - \ 'resolve': function('fugitive#resolve'), - \ 'getftime': function('fugitive#getftime'), - \ 'getfsize': function('fugitive#getfsize'), - \ 'getftype': function('fugitive#getftype'), - \ 'filereadable': function('fugitive#filereadable'), - \ 'filewritable': function('fugitive#filewritable'), - \ 'isdirectory': function('fugitive#isdirectory'), - \ 'getfperm': function('fugitive#getfperm'), - \ 'setfperm': function('fugitive#setfperm'), - \ 'readfile': function('fugitive#readfile'), - \ 'writefile': function('fugitive#writefile'), - \ 'glob': function('fugitive#glob'), - \ 'delete': function('fugitive#delete'), - \ 'Real': function('FugitiveReal')}