comment-selection does not do anything #1120

Closed
Droggelbecher opened this Issue Jan 10, 2017 · 1 comment

Projects

None yet

3 participants

@Droggelbecher

Tested on my kakrc file on a single selection that spans multiple lines. comment-line on the other hand works fine (however only comments the first line as to be expected).

Can somebody reproduce?

My kak version is at 76c58aa .

@lenormf
Contributor
lenormf commented Jan 10, 2017

Not all filetypes have block comment characters set, because the language they wrap don't have either.

Example: kak scripts, in which you can only comment lines with the # character. To comment a block (I should have named the comment-selection command just that, comment-block), use <a-s>:comment-line<ret>.

@mawww mawww closed this Jan 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment