support commenting

This commit is contained in:
Alex Leferry 2 2016-02-03 09:15:24 +01:00
parent f54ba102ad
commit dccaaa12d5

View File

@ -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).* %{