diff --git a/rc/coffee.kak b/rc/coffee.kak index a8bfb068..36171ded 100644 --- a/rc/coffee.kak +++ b/rc/coffee.kak @@ -1,6 +1,8 @@ # http://coffeescript.org # ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ +# require commenting.kak + # Detection # ‾‾‾‾‾‾‾‾‾ @@ -78,6 +80,9 @@ hook global WinSetOption filetype=coffee %{ hook window InsertEnd .* -group coffee-hooks _coffee_filter_around_selections hook window InsertChar \n -group coffee-indent _coffee_indent_on_new_line + + set window comment_line_chars '#' + set window comment_selection_chars '###:###' } hook global WinSetOption filetype=(?!coffee).* %{