aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 22:33:02 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 23:19:57 -0400
commit8f8602d2dfc87257c1d72492aa1d285f335bb942 (patch)
tree6c90ee5cadbadf961ac9062b83add9f3f5b8fc41 /runtime/ftplugin
parentdd2bc06411a69917c6f4a47d0b6832104efa98e4 (diff)
downloadrneovim-8f8602d2dfc87257c1d72492aa1d285f335bb942.tar.gz
rneovim-8f8602d2dfc87257c1d72492aa1d285f335bb942.tar.bz2
rneovim-8f8602d2dfc87257c1d72492aa1d285f335bb942.zip
vim-patch:98a29d00a48e
Update runtime files. https://github.com/vim/vim/commit/98a29d00a48e15a50e2850e1a29b7d475c531b0c
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/vim.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index 6759951daf..d31fff9acb 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: 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