diff --git a/rc/tools/comment.kak b/rc/tools/comment.kak index a0ffa46c..76bf68aa 100644 --- a/rc/tools/comment.kak +++ b/rc/tools/comment.kak @@ -115,6 +115,10 @@ hook global BufSetOption filetype=python %{ set-option buffer comment_block_end "'''" } +hook global BufSetOption filetype=(r|rmd) %{ + set-option buffer comment_line '#' +} + hook global BufSetOption filetype=ragel %{ set-option buffer comment_line '%%' set-option buffer comment_block_begin '%%{'