From 00d8716c79567a4d1b8d35686067e736ed81fcd2 Mon Sep 17 00:00:00 2001 From: Olivier Perret Date: Mon, 16 Oct 2017 16:07:43 +0200 Subject: [PATCH] commenting: move rust to the C-style group --- rc/core/comment.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/core/comment.kak b/rc/core/comment.kak index acb96f890..994de24a0 100644 --- a/rc/core/comment.kak +++ b/rc/core/comment.kak @@ -11,7 +11,7 @@ hook global BufSetOption filetype=asciidoc %{ 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_block '/*:*/' } @@ -76,8 +76,8 @@ hook global BufSetOption filetype=perl %{ set-option buffer comment_block '#[:]' } -hook global BufSetOption filetype=(pug|rust) %{ - set-option buffer comment_line '//' +hook global BufSetOption filetype=pug %{ + set buffer comment_line '//' } hook global BufSetOption filetype=python %{