Tuesday, October 26, 2010

Re: What to do with perl-support when set ft=perl set in vimrc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/26/2010 11:17 PM, Benjamin R. Haskell wrote:
> On Tue, 26 Oct 2010, Benjamin R. Haskell wrote:
>
>> On Tue, 26 Oct 2010, Aaron Lewis wrote:
>>
>>> Hi,
>>> Just activated perl-support plugin , if i do set ft=perl inside
>>> my ~/.vimrc , thus i'll receive a warning:
>>>
>>> Error detected while processing
>>> /usr/share/vim/vimfiles/ftplugin/perl.vim:
>>> line 414:
>>> E121: Undefined variable: g:Perl_PerlTags
>>> E15: Invalid expression: has('perl') && g:Perl_PerlTags == 'enabled'
>>> Press ENTER or type command to continue
>>>
>>>
>>> But if i start vim , and type in "set ft=perl" manually , all goes well.
>>>
>>> Am i missing sth. here ?
>>
>> g:Perl_PerlTags isn't part of any recent (7.0+) ftplugin/perl.vim.
>> Googling it, I found:
>>
>> http://www.vim.org/scripts/script.php?script_id=556
>>
>> which has a changelog from 2008-01-02:
>>
>> + Global variable g:Perl_PerlTags is no longer needed.
>>
>> So, perhaps you're using that and updating that script might help?
>> Are you using a particularly old version of Vim?
>
> Oy. Feels like Monday. I suppose I could have read your message, which
> mentions you're using that script. Nonetheless the changelog seems
> relevant: probably the script is written for a newer version of Vim
> than you're using?

Guess everything on my system is newest here:

app-editors/vim-7.3
app-editors/vim-core-7.3
app-vim/perl-support-4.8

And also vim was compiled flags come here:

app-editors/vim-7.3 USE="X acl bash-completion cscope gpm nls perl
python ruby vim-pager -debug -minimal" 0 kB


>


- --
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E
Key Server: http://keyserver.veridis.com
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E

No HTML shits , thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMx22wAAoJECSSp9Df5sKe3sYP/2ZU2J58KrapRHL+ibZbhxmz
cRJI5Oc8APMRt6ICzeF/v+ARJ87ZfvwRWoxoMzsuqJgBP5rUV0mZXbGBLdd+c2GI
XS3RBm6Vtfuvi9W8xaatfrB0oHaswvKhFuxjEHZ76ojZPhSkgVwV8/kjTEaYBMEL
Is4/HQ5n0kzx6aCat16IJT4cUI0A/CImN8/PuTa/MlUoXYNImmES6bQy873migJI
dP8P0R3g37rYgKFXYkS6cYGthUh129VlF7h5Q4i+whjRXP+WsU7o9zrQvgFkz1nS
wEYJQwF17FrvWXFJWa3fX4+ZWI+ac5qcr9pYntWuMyGuPXp4tvkKLzz40oFfdlou
lNVsF8edGXnSReTQCgx2pDIM8g+V6Met+paJl44/87sz5dHzwFXGtJsJMf1MTXxe
oOfV7wrRmmPaF/0Au+zYoimIgqlmv79sN9hVA1YiJKdes1I0/IqKJSf6Mzk708PD
RBV3vIZlp0eZqi+Dz4wmQ2KZGn3oh8b6t6XeXcENguWaKcuh71wHF92PPV63cjaU
7+w/tlqLZ1VPuDMiSWXiu2iZzYjDVUQ1iSuTN8jEGv9DjOLDwAOKJrdKcvDU5CNx
pIDF0mUh++0u9PTyWeatmLaqBcKI20eMzAQ49Z5pS3i+t1SM3DslD3Izhfiukb3D
XcTgGHVC9/rsRK9cwy0a
=GNZe
-----END PGP SIGNATURE-----

--
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:

Post a Comment