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

Long comments automatically being wrapped? #532

Open
leftbones opened this issue Jan 14, 2024 · 3 comments
Open

Long comments automatically being wrapped? #532

leftbones opened this issue Jan 14, 2024 · 3 comments

Comments

@leftbones
Copy link

I can't confirm that this is caused by this plugin, but this is the only comment related plugin I have, and I have set nowrap in my .vimrc -- Normal lines aren't wrapped, just comments.

Basically, if I type a comment to the edge of the screen, it's wrapped to a new line. I couldn't find anything about this in the README, but I'd like to disable it if possible.

In case this isn't being caused by this plugin, my other plugins are:

  • YouCompleteMe
  • NERDTree
  • NERDCommenter
  • Vim-Surround
  • Auto-Pairs
@alerque
Copy link
Member

alerque commented Jan 16, 2024

Is it hard wrapping or soft wrapping? i.e. if you change the VIM window width does it re-wrap, or is the newline being automatically added to your sources? I doubt it has anything to do with this plugin but maybe we can point you in the right direction.

@leftbones
Copy link
Author

Is it hard wrapping or soft wrapping? i.e. if you change the VIM window width does it re-wrap, or is the newline being automatically added to your sources? I doubt it has anything to do with this plugin but maybe we can point you in the right direction.

It’s hard wrapping, like it adds a new line and a comment delimiter to that line. Super weird. I appreciate the help even if it’s not related to this plugin!

@alerque
Copy link
Member

alerque commented Jan 16, 2024

Did you try :set textwidth=0?

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