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 4b75c7bff22fc87cf0e0655e45bb656dc2c31c0d (tree)
parent b0bc71460a3693d91bf73e01e3b525f9312ab86d
Author: Tim Pope <code@tpope.net>
Date:   Sat, 21 Jun 2014 10:25:30 -0400

Enforce foldmethod=syntax in commits

Closes #432.

Diffstat:
Mplugin/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim @@ -2325,7 +2325,7 @@ function! s:BufReadObject() abort setlocal bufhidden=delete endif if b:fugitive_type !=# 'blob' - set filetype=git + setlocal filetype=git foldmethod=syntax nnoremap <buffer> <silent> a :<C-U>let b:fugitive_display_format += v:count1<Bar>exe <SID>BufReadObject()<CR> nnoremap <buffer> <silent> i :<C-U>let b:fugitive_display_format -= v:count1<Bar>exe <SID>BufReadObject()<CR> else