Mercurial > vim
diff runtime/ftplugin/vim.vim @ 21250:21fb2a3ad3ca
Update runtime files
Commit: https://github.com/vim/vim/commit/7ff78465f7057a672a6de0d75d56286da253501b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 10 22:00:53 2020 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 10 Jul 2020 22:15:08 +0200 |
parents | 59f93c2d2551 |
children | 3a1ed539ae2a |
line wrap: on
line diff
--- 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")