Re: Filetype detection on vim

2012-07-30 Thread Ben Schmidt
On 31/07/12 11:49 AM, ping wrote: On 7/30/2012 9:28 PM, Gary Johnson wrote: On 2012-07-30, ping wrote: What I recommend is to add a new filetype.vim in one of the following places (shown as they would appear in Vim): - Single-user on Windows $HOME/vimfiles/filetype.vim I actually pref

Re: Filetype detection on vim

2012-07-30 Thread ping
On 7/30/2012 9:28 PM, Gary Johnson wrote: On 2012-07-30, ping wrote: What I recommend is to add a new filetype.vim in one of the following places (shown as they would appear in Vim): - Single-user on Windows $HOME/vimfiles/filetype.vim I actually prefer creating a file per file

Re: Filetype detection on vim

2012-07-30 Thread ping
On 7/30/2012 9:28 PM, Gary Johnson wrote: On 2012-07-30, ping wrote: What I recommend is to add a new filetype.vim in one of the following places (shown as they would appear in Vim): - Single-user on Windows $HOME/vimfiles/filetype.vim I actually prefer creating a file per file

Re: Filetype detection on vim

2012-07-30 Thread Gary Johnson
On 2012-07-30, ping wrote: > >> > >> > >>What I recommend is to add a new filetype.vim in one of the following > >> > >>places (shown as they would appear in Vim): > >> > >> > >> > >>- Single-user on Windows > >> > >>$HOME/vimfiles/filetype.vim > >> > > > >I actually prefer creating a file per

Re: Filetype detection on vim

2012-07-30 Thread ping
What I recommend is to add a new filetype.vim in one of the following places (shown as they would appear in Vim): - Single-user on Windows $HOME/vimfiles/filetype.vim I actually prefer creating a file per filetype in $HOME/vimfiles/ftdetect, as detailed at the beginning of :he

Re: Filetype detection on vim

2012-07-30 Thread ping
On 7/29/2012 10:28 PM, Ben Fritz wrote: On Saturday, July 28, 2012 11:10:35 PM UTC-5, Tony Mechelynck wrote: On 27/07/12 12:49, ansuman wrote: Hi, I am not getting how to add a new filetype to vim. I am on windows and I am using vim73. I want to add a new filetype with extenti

Re: Filetype detection on vim

2012-07-30 Thread ansuman
what I will do is follow Tony to add my file type in safe way. Thanks Ansuman -- View this message in context: http://vim.1045645.n5.nabble.com/Filetype-detection-on-vim-tp5709826p5709869.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the

Re: Filetype detection on vim

2012-07-30 Thread Ben Schmidt
On 30/07/12 3:10 PM, Gary Johnson wrote: On 2012-07-29, Ben Fritz wrote: On Saturday, July 28, 2012 11:10:35 PM UTC-5, Tony Mechelynck wrote: On 27/07/12 12:49, ansuman wrote: I want to add a new filetype with extention .pn. For this I had done following: I went to vim installation director

Re: Filetype detection on vim

2012-07-29 Thread Gary Johnson
On 2012-07-29, Ben Fritz wrote: > On Saturday, July 28, 2012 11:10:35 PM UTC-5, Tony Mechelynck wrote: > > On 27/07/12 12:49, ansuman wrote: > > > I want to add a new filetype with extention .pn. For this I > > > had done following: > > > > > > I went to vim installation directory i.e. vim73 and I

Re: Filetype detection on vim

2012-07-29 Thread Ben Fritz
On Saturday, July 28, 2012 11:10:35 PM UTC-5, Tony Mechelynck wrote: > On 27/07/12 12:49, ansuman wrote: > > > Hi, > > > > > > I am not getting how to add a new filetype to vim. I am on windows and I am > > > using vim73. > > > > > > I want to add a new filetype with extention .pn. For this I

Re: Filetype detection on vim

2012-07-28 Thread Tony Mechelynck
On 27/07/12 12:49, ansuman wrote: Hi, I am not getting how to add a new filetype to vim. I am on windows and I am using vim73. I want to add a new filetype with extention .pn. For this I had done following: I went to vim installation directory i.e. vim73 and I edited filetype.vim. I added foll

Filetype detection on vim

2012-07-27 Thread ansuman
://vim.1045645.n5.nabble.com/Filetype-detection-on-vim-tp5709826.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information,