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 2b757e87d579dfba91aa5504503a56d2b6bdf4da (tree)
parent 5af58f9da159c4c7a1b6b6fce2377295f9e16d26
Author: Tim Pope <code@tpope.net>
Date:   Fri,  2 Aug 2019 14:42:24 -0400

Disable modelines in temp files

Diffstat:
Mautoload/fugitive.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -2071,6 +2071,7 @@ function! s:SetupTemp(file) abort setlocal foldmarker=<<<<<<<,>>>>>>> setlocal bufhidden=delete nobuflisted setlocal buftype=nowrite + setlocal nomodeline if empty(mapcheck('q', 'n')) nnoremap <buffer> <silent> q :<C-U>bdelete<CR> endif