Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: remove comments pascal #45

Closed
andersoncustodio opened this issue Oct 10, 2011 · 1 comment
Closed

bug: remove comments pascal #45

andersoncustodio opened this issue Oct 10, 2011 · 1 comment

Comments

@andersoncustodio
Copy link

andersoncustodio commented Oct 10, 2011

Se tenho um bloco de código.

linha 1
linha 2

Use the command ",cs" visual block mode.

(* linha 1
 * linha 2
 *)

When I use "c " does not remove it, instead creating another comment.

(* linha 1
 {* linha 2}
 *)

Sorry for the poorly written text, I do not know English.

@alerque
Copy link
Member

alerque commented May 24, 2016

This has to do with what delimiters you have setup as the primary vs. the alternate. The comment block you are showing is commented using the alternate delimiters + the sexy style. The command you are issuing is setup to look for the primary delimiters, which don't exist, so it adds a comment instead of removing.

You can swap the primary/alternate delimiters using <leader>ca, then your uncomment command should work on that block as you would expect.

@alerque alerque closed this as completed May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants