Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Reports and requestsEdit
Please put bug reports or feature requests at https://github.com/WolfgangMehner/vim-plugins
Please help us keep track of all the issues and name your report/request:
- C-Support: <title>
Requests: Doxygen style comments Edit
Can support for doxygen style comments be added please? There's another plugin for doxygen-support, but I'd really like to be able to use the c-support mappings. Something like \cdme for method description and so on?
- Is in work for the next release. - Wolfgang Mehner
I had the same error than you on my Windows SEVEN computer. I tried your solution but unfortunatly it didn't solve it.
Is it really working on your side ? Thanks, --Julien, 11:05, August 8, 2011
I have trying you c's vim script and now I update to the new release 5.15.1 and I ran into this message:
Local template file 'C:\Users\main/vimfiles/c-support/templates/Templates' not readable.
I resolved this in this manner:
I modified line 74 to 80 in c.vim:
" user installation assumed let s:plugin_dir = $HOME.'/vimfiles/' endif " let s:C_LocalTemplateFile = $HOME.'/vimfiles/c-support/templates/Templates' let s:C_LocalTemplateDir = fnamemodify( s:C_LocalTemplateFile, ":p:h" ).'/' let s:C_CodeSnippets = $HOME.'/vimfiles/c-support/codesnippets/' let s:C_IndentErrorLog = $HOME.'/_indent.errorlog' "
I've changed for this:
" user installation assumed let s:plugin_dir = $VIM.'/vimfiles/' endif " let s:C_LocalTemplateFile = $VIM.'/vimfiles/c-support/templates/Templates' let s:C_LocalTemplateDir = fnamemodify( s:C_LocalTemplateFile, ":p:h" ).'/' let s:C_CodeSnippets = $VIM.'/vimfiles/c-support/codesnippets/' let s:C_IndentErrorLog = $VIM.'/_indent.errorlog
Solve the template read error on MS WindowsEdit
- Go to C:\Program Files\vim\vim73\plugin\
- find c.vim
- select from line 70 to 84 then replace the contents with the following:
\ substitute( expand("$VIM"), '\', '/', 'g' ) ) == 0 " " USER INSTALLATION ASSUMED let g:C_Installation = 'local' let s:plugin_dir = substitute( expand('<sfile>:p:h:h'), '\', '/', 'g' ) let s:C_LocalTemplateFile = s:plugin_dir.'/c-support/templates/Templates' let s:C_LocalTemplateDir = fnamemodify( s:C_LocalTemplateFile, ":p:h" ).'/' else " " SYSTEM WIDE INSTALLATION let g:C_Installation = 'system' let s:plugin_dir = $VIM.'/vimfiles' let s:C_GlobalTemplateDir = s:plugin_dir.'/c-support/templates' let s:C_GlobalTemplateFile = s:C_GlobalTemplateDir.'/Templates' let s:C_LocalTemplateFile = $VIM.'/c-support/templates/Templates'
Still confused? Download my c.vim and put it in the plugin directory, but keep a backup of the old file always.
I solved this just adjusting the paths, for the future releases of cvim adjusting the paths should solve the problem. But I hope this would have ben solved in the next release if the developers are interested in. Currently my solution works for the Script Version 6.0 (2012-08-20) VIM Version 7.0.
This worked for me on my Win_XP and my brother's Win_SEVEN, both machines. --Pinaki Sekhar Gupta, September 12, 2012 4:19 AM (Kolkata, INDIA).
Extra fix for omnicppcompleteEdit
Still now omnicppcomplete does not work. I had to modify the plugin's path to work properly, so I did. Get this modified version: cvim_6.0_modified.zip --October 13, 2012