Skip to content

Commit dccaaa1

Browse files
committed
support commenting
1 parent f54ba10 commit dccaaa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rc/coffee.kak

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# http://coffeescript.org
22
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
33

4+
# require commenting.kak
5+
46
# Detection
57
# ‾‾‾‾‾‾‾‾‾
68

@@ -78,6 +80,9 @@ hook global WinSetOption filetype=coffee %{
7880

7981
hook window InsertEnd .* -group coffee-hooks _coffee_filter_around_selections
8082
hook window InsertChar \n -group coffee-indent _coffee_indent_on_new_line
83+
84+
set window comment_line_chars '#'
85+
set window comment_selection_chars '###:###'
8186
}
8287

8388
hook global WinSetOption filetype=(?!coffee).* %{

0 commit comments

Comments
 (0)