From 9d1c52239a949adc681614e8ad8ec194d9a85408 Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Tue, 3 May 2016 21:10:30 +0200 Subject: vim-patch:d042dc8 Update runtime files. https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9 Missing in runtime/doc: hangulin.txt, tags, todo.txt. The changes to options.txt do not apply for nvim. man.vim is very different in nvim, some changes applied manually, others discarded. --- runtime/ftplugin/man.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/ftplugin/man.vim') diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 36cd70f203..04ab539fb1 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -32,6 +32,10 @@ if !exists("g:no_plugin_maps") && !exists("g:no_man_maps") endif endif +if exists('g:ft_man_folding_enable') && (g:ft_man_folding_enable == 1) + setlocal foldmethod=indent foldnestmax=1 foldenable +endif + let b:undo_ftplugin = 'setlocal iskeyword<' " vim: set sw=2: -- cgit