comparison runtime/doc/filetype.txt @ 9116:bc38030aec7d

commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 24 20:02:38 2016 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 24 May 2016 20:15:05 +0200
parents 34c45ee4210d
children 33c1b85d408c
comparison
equal deleted inserted replaced
9115:17306d56fa03 9116:bc38030aec7d
1 *filetype.txt* For Vim version 7.4. Last change: 2016 Apr 30 1 *filetype.txt* For Vim version 7.4. Last change: 2016 May 24
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
583 let g:ft_man_folding_enable = 1 583 let g:ft_man_folding_enable = 1
584 If you do not like the default folding, use an autocommand to add your desired 584 If you do not like the default folding, use an autocommand to add your desired
585 folding style instead. For example: > 585 folding style instead. For example: >
586 autocmd FileType man setlocal foldmethod=indent foldenable 586 autocmd FileType man setlocal foldmethod=indent foldenable
587 587
588 You may also want to set 'keywordprg' to make the |K| command open a manual
589 page in a Vim window: >
590 set keywordprg=:Man
591
588 592
589 MANPAGER *manpager.vim* 593 MANPAGER *manpager.vim*
590 594
591 The :Man command allows you to turn Vim into a manpager (that syntax highlights 595 The :Man command allows you to turn Vim into a manpager (that syntax highlights
592 manpages and follows linked manpages on hitting CTRL-]). 596 manpages and follows linked manpages on hitting CTRL-]).