nerdcommenter
nerdcommenter copied to clipboard
how to change the comment style like /** */ and the char * aligined with the first char * of the first row
now i can chang the default comment string like /** */
by the following rc file
Plugin 'scrooloose/nerdcommenter'
let g:NERDSpaceDelims=1
let g:NERDCustomDelimiters={ 'php' : { 'leftAlt': '/**','rightAlt': '*/', 'left' : '//'} }
when i press the <leader>cs
i get the string like this:
/**
*
*/
but this not what i want , i want to get the comment string like this:
/**
*
*/
any idea ?
I also would like to see a solution to this type of commenting system.
Off the top of my head I don't see how this is implemented. I would be happy to review a PR that implemented this as an optional feature for those that want it this way.
@alerque Maybe it makes sense to create a new label to indicate, that you would accept PRs. Something like „PR wanted” or so.
@Ryuno-Ki I think that would be kind of redundant. All open issues need some sort of resolution, and this is a community project. All the issues that are feature requests or bug reports are PR wanted. If for some reason I think we would refuse to accept a feature I would close the issues outright with some explanation. A pr-wanted
tag really only makes sense in the case of benevolant dictator or corporate sponsored projects where it might be allowed for some things to be worked on by the community but only in so far as they meet up with the intended project specs. This project doesn't have any clear road map at this point, it only progresses when somebody scratches their own itches and takes the time to contribute those upstream. I'm pretty liberal with including contributions as long as they don't mess up anybody else's features and they are reasonably well coded and documented.
If an issue is open on this tracker anybody is welcome to take a stab at answering the question or fixing the bug or adding the feature. I sometimes comment on issues to the effect that a PR would be accepted, but that is mostly so that the people new to open source understand what the hold up is.
Hi, @alerque,
thank you for your response.
Since every project is different, it is not clear, how any given one is governed. However, as far as I can tell, keeping a [CONTRIBUTING.md](https://mozillascience.github.io/working-open-workshop/contributing/)
file in the root level of a repo is a wide-spread strategy.
Shall I open an issue to talk about it there?
Sure @Ryuno-Ki, open an issue (or PR). I'd be happy to see anything that encourages contributions.
Pull request #374 is probably related to this issue.