From 4a3c6b4a56dce19f3c1ac3f2f07988433cfcde87 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 6 Aug 2018 02:01:32 -0400 Subject: [PATCH] Adjust section headers --- autoload/fugitive.vim | 112 ++++++++++++++++++++++-------------------- 1 file changed, 58 insertions(+), 54 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 0c99f38..9b9b94c 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -115,8 +115,32 @@ function! s:executable(binary) abort return s:executables[a:binary] endfunction -function! s:UserCommand() abort - return get(g:, 'fugitive_git_command', g:fugitive_git_executable) +function! s:map(mode, lhs, rhs, ...) abort + let flags = (a:0 ? a:1 : '') . (a:rhs =~# '' ? '' : '