diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-29 20:43:22 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-29 21:08:09 -0400 |
commit | 9f54d125d2b601029cb2b6dbffcc361c2e8fb974 (patch) | |
tree | 6670d7d22bb7808feec25f08ee155b0eedb7f531 /runtime/ftplugin/vim.vim | |
parent | 09f3e62bc623dd3cbcbc708b019b55a8b9449de7 (diff) | |
download | rneovim-9f54d125d2b601029cb2b6dbffcc361c2e8fb974.tar.gz rneovim-9f54d125d2b601029cb2b6dbffcc361c2e8fb974.tar.bz2 rneovim-9f54d125d2b601029cb2b6dbffcc361c2e8fb974.zip |
vim-patch:3d1cde8a2f28
Update runtime files.
https://github.com/vim/vim/commit/3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0
Diffstat (limited to 'runtime/ftplugin/vim.vim')
-rw-r--r-- | runtime/ftplugin/vim.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim index 9369f7c63c..4df0d4b59b 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 Jul 26 +" Last Change: 2020 Aug 14 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -49,7 +49,8 @@ setlocal isk+=# setlocal keywordprg=:help " Set 'comments' to format dashed lists in comments -setlocal com=sO:\"\ -,mO:\"\ \ ,sO:#\ -,mO:#\ \ ,eO:##,:\",:# +" Avoid that #{} starts a comment. +setlocal com=sO:\"\ -,mO:\"\ \ ,sO:#\ -,mO:#\ \ ,eO:##,:\",b:# " Format comments to be up to 78 characters long if &tw == 0 |