I add a couple of features that I wanted for commenting that others may find useful:
In addition to updating the help file to document these new features, please also note one gotcha where using the 'start' alignment with g:NERDRemoveExtraSpaces can result in the undesired removal of spaces. I thought about adding some code to detect and warn the user in this situation, but decided against it at the time. Its something worth considering when decided whether these changes are worth merging in.
add var for default align + add support for aligning at index 0
fix a couple typos
merge in upstream master
+1 -- I've been happily using this feature addition for awhile now, for the same personal convention expressed in point #2.
add config support for default delims
if there are no configured delims for the current filetype, allow the
default delims to be defined by a global setting since c style comment
delims are not always the best defaults for everyone.
only use g:NERDDefaultDelims if no filetype has been set
This I need. Thank you.
Výchozí zarovnání a výchozí delimiter
Merge remote-tracking branch 'ervandew/master' into ervandew-features
+1 exactly what would come handy for me
@scrooloose Why the on Earth this haven't been merged yet! You seem to be alive, judging by your activity on github. Maybe you would accept a little help with managing this code?
Fork notice: With the upstream project sitting stale after nearly 8 months since the last activity, 71 outstanding pull requests, no comments from the original developer, and dozens of developers duplicating efforts while scratching their own itches, I've decided to step in and run a fork for a while. Hopefully the original developer will eventually consider picking this plugin up again or adding more maintainers so that the user base doesn't end up fragmented, but for now I would invite anyone interested in the latest updates to consider installing from and contributing pull requests to my fork.
About this PR: I have merged this PR as is. Please consider installing the plugin from alerque/nerdcommenter for this and (so far) over two dozen other updates.
Change of plans. Thanks to @scrooloose who has added me as a maintainer to this repo, I'll be going through and taking care of business here instead of in a fork.
Thanks for your contribution @purpleP!
update nerdcommenter to properly left align comments
Make <C-Space> produce left-aligned comments.
This is done in a really ugly way: this commit alters the 'Toggle'
dispatch block in the main dispatch function so that it calls the
function that produces left-aligned comments, rather than the one that
comments every line in isolation.
vim: NERDDefaultAlign support finally merged, after 5 years