From 3c829fb00d3177447cecf946633ffdd78a69b31d Mon Sep 17 00:00:00 2001 From: Alan Fung-Schwarz Date: Fri, 20 Oct 2017 17:44:25 -0400 Subject: [PATCH] Add rust_inline Rust supports the same /* inline comment */ syntax as C. --- autoload/tcomment.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/tcomment.vim b/autoload/tcomment.vim index 17a7d01..a75b0dc 100644 --- a/autoload/tcomment.vim +++ b/autoload/tcomment.vim @@ -563,6 +563,7 @@ call tcomment#DefineType('robot', {'col': 1, 'commentstring': '# %s'}) call tcomment#DefineType('robots', '# %s' ) call tcomment#DefineType('rust', tcomment#GetLineC('// %s')) call tcomment#DefineType('rust_block', g:tcommentBlockC ) +call tcomment#DefineType('rust_inline', g:tcommentInlineC ) call tcomment#DefineType('ruby', '# %s' ) call tcomment#DefineType('ruby_3', '### %s' ) call tcomment#DefineType('ruby_block', '=begin rdoc%s=end')