aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/vim.vim
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2018-10-11 22:24:52 -0400
committerGitHub <noreply@github.com>2018-10-11 22:24:52 -0400
commitfb043f8ea324a498c80d6470bfabc0faa6415742 (patch)
treeae3749074465ce359750ecb265ef4233fc3b2e59 /runtime/ftplugin/vim.vim
parent384770556ba02433904baf78f499b9bb48010040 (diff)
parent6a29a7bfb0f096ffa7968deb27b80fc2233dc0d5 (diff)
downloadrneovim-fb043f8ea324a498c80d6470bfabc0faa6415742.tar.gz
rneovim-fb043f8ea324a498c80d6470bfabc0faa6415742.tar.bz2
rneovim-fb043f8ea324a498c80d6470bfabc0faa6415742.zip
Merge pull request #9096 from nono/vim-7f2e9d7c9cdf
vim-patch:7f2e9d7c9cdf
Diffstat (limited to 'runtime/ftplugin/vim.vim')
-rw-r--r--runtime/ftplugin/vim.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index ba9ed76169..f34655f330 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2014 Sep 07
+" Last Change: 2017 Nov 06
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -25,6 +25,9 @@ setlocal fo-=t fo+=croql
" keyword character. E.g., for netrw#Nread().
setlocal isk+=#
+" Use :help to lookup the keyword under the cursor with K.
+setlocal keywordprg=:help
+
" Set 'comments' to format dashed lists in comments
setlocal com=sO:\"\ -,mO:\"\ \ ,eO:\"\",:\"