aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/vim.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 22:51:23 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-28 23:04:14 -0400
commit27fb03f5a03db6738967f9e0e0ea85ea0fab7592 (patch)
treeef9297f9456bd18f3cd3b39fa43c7f18ccc52601 /runtime/ftplugin/vim.vim
parentbb172c5104531b9060add7e0086afc65e7dc0414 (diff)
downloadrneovim-27fb03f5a03db6738967f9e0e0ea85ea0fab7592.tar.gz
rneovim-27fb03f5a03db6738967f9e0e0ea85ea0fab7592.tar.bz2
rneovim-27fb03f5a03db6738967f9e0e0ea85ea0fab7592.zip
vim-patch:7ff78465f705
Update runtime files https://github.com/vim/vim/commit/7ff78465f7057a672a6de0d75d56286da253501b
Diffstat (limited to 'runtime/ftplugin/vim.vim')
-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 465b2f95c5..1009292788 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
" Prefer Vim help instead of manpages.