commenting: move rust to the C-style group

This commit is contained in:
Olivier Perret 2017-10-16 16:07:43 +02:00
parent 9b216e0e79
commit 00d8716c79

View File

@ -11,7 +11,7 @@ hook global BufSetOption filetype=asciidoc %{
set-option buffer comment_block '///:///' set-option buffer comment_block '///:///'
} }
hook global BufSetOption filetype=(c|cpp|go|java|javascript|objc|php|sass|scala|scss|swift) %{ hook global BufSetOption filetype=(c|cpp|go|java|javascript|objc|php|rust|sass|scala|scss|swift) %{
set-option buffer comment_line '//' set-option buffer comment_line '//'
set-option buffer comment_block '/*:*/' set-option buffer comment_block '/*:*/'
} }
@ -76,8 +76,8 @@ hook global BufSetOption filetype=perl %{
set-option buffer comment_block '#[:]' set-option buffer comment_block '#[:]'
} }
hook global BufSetOption filetype=(pug|rust) %{ hook global BufSetOption filetype=pug %{
set-option buffer comment_line '//' set buffer comment_line '//'
} }
hook global BufSetOption filetype=python %{ hook global BufSetOption filetype=python %{