vim-patch:98a29d00a48e

Update runtime files.
98a29d00a4
This commit is contained in:
Jan Edmund Lazo
2021-05-01 22:33:02 -04:00
parent dd2bc06411
commit 8f8602d2df
9 changed files with 60 additions and 42 deletions

View File

@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2021 Jan 05
" Last Change: 2021 Jan 12
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -52,12 +52,12 @@ setlocal keywordprg=:help
if "\n" .. join(getline(1, 10), "\n") =~# '\n\s*vim9\%[script]\>'
" Set 'comments' to format dashed lists in comments
setlocal com=sO:#\ -,mO:#\ \ ,eO:##,:#
" Comments start with a double quote in a legacy script;
" with # in a Vim9 script
setlocal commentstring=\"%s
" Comments starts with # in Vim9 script
setlocal commentstring=#%s
else
setlocal com=sO:\"\ -,mO:\"\ \ ,:\"
setlocal commentstring=#%s
" Comments starts with a double quote in legacy script
setlocal commentstring=\"%s
endif