summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-10 22:00:53 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-10 22:00:53 +0200
commit7ff78465f7057a672a6de0d75d56286da253501b (patch)
treee35e18d5462fab10968567970cb14cfe92a82bb7 /runtime/ftplugin
parenta7eedf317a806fceec1ddd8f9bebed6e00be0ed2 (diff)
Update runtime files
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/vim.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index d76fb7f108..b2db4ab9fd 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: 2020 Jun 16
+" Last Change: 2020 Jul 06
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -49,14 +49,14 @@ setlocal isk+=#
setlocal keywordprg=:help
" Set 'comments' to format dashed lists in comments
-setlocal com=sO:\"\ -,mO:\"\ \ ,eO:\"\",:\"
+setlocal com=sO:\"\ -,mO:\"\ \ ,sO:#\ -,mO:#\ \ ,eO:##,:\",:#
" Format comments to be up to 78 characters long
if &tw == 0
setlocal tw=78
endif
-" Comments start with a double quote
+" Comments start with a double quote; in Vim9 script # would also work
setlocal commentstring=\"%s
if !exists("no_plugin_maps") && !exists("no_vim_maps")