aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-04-08 19:53:41 +0200
committerGitHub <noreply@github.com>2022-04-08 19:53:41 +0200
commitd3068d34cc56a4c66f10a83922d2500f6ca9e651 (patch)
treea49b622f1965da108f3b98c7b129c38cf6ec0f08 /runtime/ftplugin
parentb4ec6af12a97a922fe7cd90523e397bb89c83802 (diff)
downloadrneovim-d3068d34cc56a4c66f10a83922d2500f6ca9e651.tar.gz
rneovim-d3068d34cc56a4c66f10a83922d2500f6ca9e651.tar.bz2
rneovim-d3068d34cc56a4c66f10a83922d2500f6ca9e651.zip
vim-patch:partial:cbaff5e06ec5 (#18042)
Update runtime files https://github.com/vim/vim/commit/cbaff5e06ec525d31dc44093125c42029e01d508 omit doc updates here
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/c.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/c.vim b/runtime/ftplugin/c.vim
index d4564a4aec..cfaf26f66c 100644
--- a/runtime/ftplugin/c.vim
+++ b/runtime/ftplugin/c.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2021 Sep 21
+" Last Change: 2022 Apr 08
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -31,7 +31,8 @@ if exists('&ofu')
endif
" Set 'comments' to format dashed lists in comments.
-setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
+" Also include ///, used for Doxygen.
+ setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
" When the matchit plugin is loaded, this makes the % command skip parens and
" braces in comments properly.