Re: It is possible to have enabled 2 o more different syntax in the same file?

2011-05-17 Thread Alessandro Antonello
Unfortunately this possibility is only available with syntax highlight. Maybe a future feature could extend this to 'indent' and 'ftplugin' scripts. -- 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,

Re: It is possible to have enabled 2 o more different syntax in the same file?

2011-05-17 Thread Ben Fritz
On May 17, 7:17 pm, Alessandro Antonello antonello@gmail.com wrote: Unfortunately this possibility is only available with syntax highlight. Maybe a future feature could extend this to 'indent' and 'ftplugin' scripts. Both of these are actually pretty easy. For ftplugin, either use a

It is possible to have enabled 2 o more different syntax in the same file?

2011-05-16 Thread AMDx64BT
I would like to highlight 2 o more different syntax in the same file. For example, I have a file with notes with different languages cpp, matlab, python, bash and I would like to be able to highlight each syntax with colors. Any ideas? -- You received this message from the vim_use maillist.

Re: It is possible to have enabled 2 o more different syntax in the same file?

2011-05-16 Thread Xell Liu
Hi, Perhaps :h :syn-include could help you. On Tue, May 17, 2011 at 8:55 AM, AMDx64BT amdx6...@gmail.com wrote: I would like to highlight 2 o more different syntax in the same file. For example, I have a file with notes with different languages cpp, matlab, python, bash and I would like to

Re: It is possible to have enabled 2 o more different syntax in the same file?

2011-05-16 Thread Tony Mechelynck
On 17/05/11 02:55, AMDx64BT wrote: I would like to highlight 2 o more different syntax in the same file. For example, I have a file with notes with different languages cpp, matlab, python, bash and I would like to be able to highlight each syntax with colors. Any ideas? It is possible as long