Closed unixbhaskar closed 4 years ago
Did I missed the already available this thing?? It might fail me.
I would like the comment style has to be changed as per the file tye open...
Say, if I open a shell file, it should comment with a #
If I open a c file it should open with c comment style(which is what is doing by default)
Or how do I change that ??? Putting an auto command in vimrc is fine ...but how to change the comment character???
Kindly shed some light. I have probably missed the much obvious ...but ....
figured it out.
Did I missed the already available this thing?? It might fail me.
I would like the comment style has to be changed as per the file tye open...
Say, if I open a shell file, it should comment with a #
If I open a c file it should open with c comment style(which is what is doing by default)
Or how do I change that ??? Putting an auto command in vimrc is fine ...but how to change the comment character???
Kindly shed some light. I have probably missed the much obvious ...but ....