diff options
author | Anmol Sethi <hi@nhooyr.io> | 2020-08-08 12:48:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 12:48:33 -0400 |
commit | 7f49594813287d8134c52b3a9ee8ff099d525468 (patch) | |
tree | 9be79defa4c6bcbd6b02457dd98840965892f9c5 | |
parent | f26df8bb66158baacb79c79822babaf137607cd6 (diff) | |
download | rneovim-7f49594813287d8134c52b3a9ee8ff099d525468.tar.gz rneovim-7f49594813287d8134c52b3a9ee8ff099d525468.tar.bz2 rneovim-7f49594813287d8134c52b3a9ee8ff099d525468.zip |
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
-rw-r--r-- | runtime/ftplugin/man.vim | 1 |
1 files changed, 1 insertions, 0 deletions
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 |