commit ef4f13d85c2612f8dd920f4290f607ec6fdb89cc
parent 9738b405fd6d5bf7e4d64b316f57d581f7fa49df
Author: Christian Clason <c.clason@uni-graz.at>
Date: Sun, 24 Nov 2024 15:05:10 +0100
vim-patch:c1e6621: runtime(c3): include c3 filetype plugin
closes: vim/vim#16090
https://github.com/vim/vim/commit/c1e6621a59ab6351fef24c1b28fb30ff34191b04
Co-authored-by: Turiiya <34311583+ttytm@users.noreply.github.com>
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/runtime/ftplugin/c3.vim b/runtime/ftplugin/c3.vim
@@ -0,0 +1,14 @@
+" Vim filetype plugin
+" Language: C3
+" Maintainer: Turiiya <34311583+ttytm@users.noreply.github.com>
+" Last Change: 2024 Nov 24
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
+setl commentstring=//\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'