Wednesday, January 26, 2011

Re: syntax and ident for expect files

On Wed, Jan 26, 2011 at 5:33 AM, Klaus Rudolph <lts-rudolph@gmx.de> wrote:
> Hi all,
>
> I have indent and syntax files for tcl which works very fine.
>
> Expect is a tcl extension, files ends typically with .exp.
>
> Now I want to use the tcl files for expect, but simple copy the tcl files  with the new name is not working.
>
> Any hint?

I think that what you're trying to do is detecting .exp and applying
tcl syntax automatically?

mkdir -p .vim/ftdetect
echo 'au BufReadPost,BufNewFile *.EXTENSION setf FILETYPE' >
.vim/ftdetect/FILETYPE.vim

>
> Thanks
>  Klaus
>
>
> --
> Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
> Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
>
> --
> 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, visit http://www.vim.org/maillist.php
>

--
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, visit http://www.vim.org/maillist.php

No comments: