-
-
Notifications
You must be signed in to change notification settings - Fork 447
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
let g:NERDDefaultAlign = 'left' , does not comment at start of line #467
Comments
it seems that only cs is the only keybinding to activate that sort of commenting format , the aforementioned option didn't work out for me too . |
cs? |
From
|
I stumbled across this when I became frustrated that NERDCommenter was butchering my YAML for when I'd have to uncomment it later. I agree the documentation is confusing. With the default setting (
I hated this option, because when I went to save, the file auto-formatted and destroyed all the indentation... But if you instead set
which in my case was did preserve indentation when auto-formatting. |
If I've read the docs correctly,
should result in NerdCommenter adding the comment to the start of the line instead of the indented position just before the first non-whitespace character.
However, testing this it doesn't seem to change the default behaviour and still adds comments indented instead of at the start of the line.
The text was updated successfully, but these errors were encountered: