From f269eabc6c4f5bdcef989cd5b4b95ba8ccaa4d8a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 3 Oct 2022 18:04:35 +0100 Subject: Update runtime files --- runtime/plugin/manpager.vim | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'runtime/plugin') diff --git a/runtime/plugin/manpager.vim b/runtime/plugin/manpager.vim index 24338ca8ae..9ee593725d 100644 --- a/runtime/plugin/manpager.vim +++ b/runtime/plugin/manpager.vim @@ -1,6 +1,6 @@ " Vim plugin for using Vim as manpager. " Maintainer: Enno Nagel -" Last Change: 2022 Jun 17 +" Last Change: 2022 Sep 30 " Set up the current buffer (likely read from stdin) as a manpage command MANPAGER call s:ManPager() @@ -18,9 +18,6 @@ function s:ManPager() " Make this an unlisted, readonly scratch buffer setlocal buftype=nofile noswapfile bufhidden=hide nobuflisted readonly - " Is this useful? Should allow for using K on word with a colon. - setlocal iskeyword+=: - " Ensure text width matches window width setlocal foldcolumn& nofoldenable nonumber norelativenumber @@ -44,6 +41,6 @@ function s:ManPager() setlocal nomodified nomodifiable " Set filetype to man even if ftplugin is disabled - setlocal iskeyword+=: filetype=man + setlocal filetype=man runtime ftplugin/man.vim endfunction -- cgit v1.2.3