diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-05-03 21:10:30 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-05-03 21:13:41 +0200 |
commit | 9d1c52239a949adc681614e8ad8ec194d9a85408 (patch) | |
tree | d53a6cd179a9b55a590d00f457b86dc188a7dc21 /runtime/ftplugin/man.vim | |
parent | 95d376dc88934c7aed5db08ab481037b848b5126 (diff) | |
download | rneovim-9d1c52239a949adc681614e8ad8ec194d9a85408.tar.gz rneovim-9d1c52239a949adc681614e8ad8ec194d9a85408.tar.bz2 rneovim-9d1c52239a949adc681614e8ad8ec194d9a85408.zip |
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.
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r-- | runtime/ftplugin/man.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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: |