sunnyranjan12 / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

cfg has no setting for commentstring #226

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open a file which happens vim happens to pick as [cfg], ~/.hgrc happens to 
be such a file
2. attempt to comment lines using any commenting plugin; for instance, 
vim-commentary
3. be greeted with c-style comments

What is the expected output? What do you see instead?
The lines

[extensions]
pager =

when commented, should be

# [extensions]
# pager =

not

/* [extensions] */
/* pager = */

I'm not aware of a generic config file that benefits from cms=/*%s*/

What version of the product are you using? On what operating system?
7.4-307

Please provide any additional information below.

This could be fixed by including an `ftplugin/cfg.vim` adapted from 
`ftplugin/conf.vim` or perhaps some other way.

Original issue reported on code.google.com by muffinpo...@gmail.com on 31 May 2014 at 3:47

GoogleCodeExporter commented 9 years ago
Woud you volunteer to maintain a specific filetype plugin "cfg.vim"?

Original comment by chrisbr...@googlemail.com on 23 Oct 2014 at 10:20