Add R and Rmd options for comment.kak

This commit is contained in:
Mathieu Laparie 2021-01-21 15:12:41 +01:00
parent 3bb576edde
commit b74dfa1e74

View File

@ -115,6 +115,10 @@ hook global BufSetOption filetype=python %{
set-option buffer comment_block_end "'''" set-option buffer comment_block_end "'''"
} }
hook global BufSetOption filetype=(r|rmd) %{
set-option buffer comment_line '#'
}
hook global BufSetOption filetype=ragel %{ hook global BufSetOption filetype=ragel %{
set-option buffer comment_line '%%' set-option buffer comment_line '%%'
set-option buffer comment_block_begin '%%{' set-option buffer comment_block_begin '%%{'