Loading ...
Sorry, an error occurred while loading the content.
 

Re: gf in Perl does not work on Some::Package->some_function

Expand Messages
  • Thilo Six
    Hello Tomáš, ... I cc ed Andy Lester. As he is the maintainer of that file he has to decide. ... Yes. isfname is global only. ... -- Regards, Thilo
    Message 1 of 3 , May 4, 2012
      Hello Tomáš,


      Excerpt from Tomáš Janoušek:

      > Hello,
      >
      > it's quite common to use the syntax Some::Package->new to create new instances
      > in Perl, but using gf tries to open a file named Some/Package-.pm, which
      > fails. Hence, I suggest adding this to ftplugin/perl.vim:
      > setlocal isfname-=-

      I cc'ed Andy Lester. As he is the maintainer of that file he has to decide.

      >
      > (Also, ftplugin/perl.vim in vim 7.3 contains a set isfname+=: instead of
      > setlocal. Is that ok?)

      Yes. 'isfname' is global only.

      >
      > Regards,

      --
      Regards,
      Thilo

      4096R/0xC70B1A8F
      721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F


      --
      You received this message from the "vim_dev" 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
    • Thilo Six
      Hello Tomáš, I forward the following mail i received from Andy: ... sure ;) ... -- Regards, Thilo 4096R/0xC70B1A8F 721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0
      Message 2 of 3 , May 5, 2012
        Hello Tomáš,

        I forward the following mail i received from Andy:


        Excerpt from Andy Lester:
        > I don't have the original author on the cc:.
        >
        > Can you please point him to https://github.com/petdance/vim-perl/issues ?

        sure ;)

        >
        > Thanks,
        > xoa
        >
        > --
        > Andy Lester => andy@... => www.petdance.com => AIM:petdance

        --
        Regards,
        Thilo

        4096R/0xC70B1A8F
        721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F


        --
        You received this message from the "vim_dev" 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
      Your message has been successfully submitted and would be delivered to recipients shortly.