Add an alias for commenting whole lines, fix the call to unalias

This commit is contained in:
Frank LENORMAND 2015-10-21 07:50:11 +03:00
parent f2eb2e8b1c
commit 1713f14d5c

View File

@ -133,6 +133,7 @@ hook global WinSetOption filetype=(c|cpp|objc) %[
alias window alt c-family-alternative-file
alias window comment-selection c-family-comment-selection
alias window comment-line c-family-comment-line
alias window format-code c-format-astyle
]
@ -143,8 +144,9 @@ hook global WinSetOption filetype=(?!(c|cpp|objc)$).* %[
unalias window alt c-family-alternative-file
unalias window comment-selection c-family-comment-selection
unalias window comment-line c-family-comment-line
unalias window format-code
unalias window format-code c-format-astyle
]
hook global WinSetOption filetype=c %[ addhl ref c ]