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: in VISUAL comment_toggle_linewise_visual and gc works blockwise if selection contains (a part of) one line #476

Open
powerman opened this issue Jul 8, 2024 · 4 comments

Comments

@powerman
Copy link

powerman commented Jul 8, 2024

I expect these two mappings must always work linewise, no matter is it VISUAL or NORMAL and no matter how much lines/symbols are selected in VISUAL.

@powerman
Copy link
Author

powerman commented Jul 8, 2024

Tested on Lua file (with active LSP), not sure is it filetype/LSP dependent issue.

@Kyren223
Copy link

Same, any updates on this?
Anything to do with block comments doesn't seem to work, unless I use C and then line comments are block comments for some reason (unless I use the API then it does use //)

@GNITOAHC
Copy link

GNITOAHC commented Sep 6, 2024

Same, any updates on this? Anything to do with block comments doesn't seem to work, unless I use C and then line comments are block comments for some reason (unless I use the API then it does use //)

Can you share the config that you use for // with C? I'm currently writing C but gcc only gives me block comment no matter the configuration.

@Kyren223
Copy link

Kyren223 commented Sep 6, 2024

My dotfiles (and nvim config) are public, you are welcome to dig for it. @GNITOAHC

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

3 participants