You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the plugin doesn't support inline comments at the moment. I have to mention it in the README.
It's seems kind of tricky to do, but I guess it could be a nice thing to have. I add it to the TODO list. Sorry for the disappointment and thanks for the suggestion!
No disappointment at all. Would a naive check suffice at first? In pseudocode:
comment_pattern = regex_comment_pattern
comment_pos = line.index(comment_pattern)
if comment_pos then
apply_comment_box.from(comment_pos)
end
Probably, but at the moment, the code only knows the number of the line where the cursor is (or the first and last line selected in visual mode), not the position of the cursor in the line, so I need to implement that.
Steps to reproduce
{ -- Something begins here...
<Cmd>CBllline<CR>
while on the line.Desired result
{ -- Something begins here... ──────────────────────────────────────────────
Actual result
-- ── { -- Something begins here... ──────────────────────────────────────────────
The text was updated successfully, but these errors were encountered: