change the filetype

2012-11-25 Thread cyboman
I have a certain set of settings for cpp files. All those settings are located in ~/.vim/after/ftplugin/cpp.vim I would like to apply those settings to c files as well. I tried to put the following code into ~/.vim/after/ftplugin/c.vim set filetype=cpp but I got the error saying that the

Re: change the filetype

2012-11-25 Thread Marcin Szamotulski
On 14:15 Sun 25 Nov , cyboman wrote: I have a certain set of settings for cpp files. All those settings are located in ~/.vim/after/ftplugin/cpp.vim I would like to apply those settings to c files as well. I tried to put the following code into ~/.vim/after/ftplugin/c.vim set

Re: change the filetype

2012-11-25 Thread Gary Johnson
On 2012-11-25, cyboman wrote: I have a certain set of settings for cpp files. All those settings are located in ~/.vim/after/ftplugin/cpp.vim I would like to apply those settings to c files as well. I tried to put the following code into ~/.vim/after/ftplugin/c.vim set filetype=cpp but

Re: change the filetype

2012-11-25 Thread cyboman
On Sunday, November 25, 2012 5:54:34 PM UTC-5, Gary Johnson wrote: On 2012-11-25, cyboman wrote: I have a certain set of settings for cpp files. All those settings are located in ~/.vim/after/ftplugin/cpp.vim I would like to apply those settings to c files as well. I tried to