summaryrefslogtreecommitdiffstats
path: root/runtime/plugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-03 18:04:35 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-03 18:04:35 +0100
commitf269eabc6c4f5bdcef989cd5b4b95ba8ccaa4d8a (patch)
treeb302076deeeab8b9884a2912b364f8131ef34949 /runtime/plugin
parenteb47d6d20a47707d810360fd1684b21f67d5dec8 (diff)
Update runtime files
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/manpager.vim7
1 files changed, 2 insertions, 5 deletions
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 <ennonagel+vim@gmail.com>
-" 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