Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

[BUG] coman behaviour unexpectedly with nested comments #5

Open
NEX-S opened this issue Oct 25, 2022 · 0 comments
Open

[BUG] coman behaviour unexpectedly with nested comments #5

NEX-S opened this issue Oct 25, 2022 · 0 comments

Comments

@NEX-S
Copy link

NEX-S commented Oct 25, 2022

coman.nvim behavior unexpectedly with nested comments

function myFunc ()
    -- call foo func
    foo()
    -- call bar func
    bar()
end

:ComComment will get this

-- function myFunc ()
    call foo func
--     foo()
    call bar func
--     bar()
-- end

the original comment inside will be uncommented, maybe need to be like this

-- function myFunc ()
--     -- call foo func
--     foo()
--     -- call bar func
--     bar()
-- end
@NEX-S NEX-S changed the title [BUG] Comment behaviour [BUG] coman behaviour unexpectedly with nested comments Oct 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant