From dccaaa12d5f1d83ea34d906b819fd63e7a6bedf6 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Wed, 3 Feb 2016 09:15:24 +0100 Subject: [PATCH] support commenting --- rc/coffee.kak | 5 +++++ 1 file changed, 5 insertions(+) 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).* %{