From e211362a6daec463902f5f4f1bd124c106b3350e Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Mon, 18 May 2015 18:45:20 +0300 Subject: vim-patch:c5d53d4 #2695 Update runtime files. https://code.google.com/p/vim/source/detail?r=c5d53d4c3e2e24e23fc4272bf91be3c031ccb598 --- runtime/ftplugin/man.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index c6e1e9d4f7..11b2b0a665 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: man " Maintainer: SungHyun Nam -" Last Change: 2013 Jul 17 +" Last Change: 2014 Nov 12 " To make the ":Man" command available before editing a manual page, source " this script from your startup vimrc file. @@ -63,7 +63,9 @@ endtry func PreGetPage(cnt) if a:cnt == 0 let old_isk = &iskeyword - setl iskeyword+=(,) + if &ft == 'man' + setl iskeyword+=(,) + endif let str = expand("") let &l:iskeyword = old_isk let page = substitute(str, '(*\(\k\+\).*', '\1', '') -- cgit