On 19 September 2010 18:12, Robert H wrote:
> snippet slurp
>    my $${1:var};
>    {
>        local $/ = undef;
>        local *FILE;
>        open FILE, "<${2:file}";
>        $$1 = <FILE>;
>        close FILE
>    }${3}
>
>
> Open a new Vim window, set the ft to perl, go into insert mode, type "slurp"
> and hit the tab key to autocomplete...freezes MacVim every time.

It works fine for me -- I did

:e test.pl
:set ft=perl
islurp<tab>

I used the definition of "slurp" that comes with snipmate, which, as
far as I can tell, is identical to your snippet above.

Have you gone throught this:

http://code.google.com/p/macvim/wiki/ReportingBugs


Björn

-- 
You received this message from the "vim_mac" 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

Reply via email to