From 7f49594813287d8134c52b3a9ee8ff099d525468 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Sat, 8 Aug 2020 12:48:33 -0400 Subject: man.vim: Add - to 'iskeyword' (#12598) Pressing K on manpages with - in their name will now work. I noticed this the manpages of https://github.com/cli/cli --- runtime/ftplugin/man.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 0416e41368..74225a558c 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -16,6 +16,7 @@ setlocal noswapfile buftype=nofile bufhidden=hide setlocal nomodified readonly nomodifiable setlocal noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 setlocal wrap breakindent linebreak +setlocal iskeyword+=- setlocal nonumber norelativenumber setlocal foldcolumn=0 colorcolumn=0 nolist nofoldenable -- cgit