support commenting
This commit is contained in:
parent
f54ba102ad
commit
dccaaa12d5
|
@ -1,6 +1,8 @@
|
||||||
# http://coffeescript.org
|
# http://coffeescript.org
|
||||||
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
|
# require commenting.kak
|
||||||
|
|
||||||
# Detection
|
# Detection
|
||||||
# ‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
|
@ -78,6 +80,9 @@ hook global WinSetOption filetype=coffee %{
|
||||||
|
|
||||||
hook window InsertEnd .* -group coffee-hooks _coffee_filter_around_selections
|
hook window InsertEnd .* -group coffee-hooks _coffee_filter_around_selections
|
||||||
hook window InsertChar \n -group coffee-indent _coffee_indent_on_new_line
|
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).* %{
|
hook global WinSetOption filetype=(?!coffee).* %{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user