[ANN] Vim/Ruby Configuration Files, 2005.10.05

Discussion in 'Ruby' started by Doug Kearns, Oct 5, 2005.

  1. Doug Kearns

    Doug Kearns Guest

    G'day folks,

    A new release of Vim/Ruby has just been uploaded to RubyForge.

    This includes a few minor bug fixes and is intended as the final release
    prior to next week's Vim 6.4 beta.

    If there are any serious problems please report them, as soon as
    possible, via the project's bug tracker so they can be attended to prior
    to the Vim beta release.

    Regards,
    Doug (for the Vim-Ruby Team)

    http://vim-ruby.rubyforge.org/
    http://rubyforge.org/projects/vim-ruby/
     
    Doug Kearns, Oct 5, 2005
    #1
    1. Advertising

  2. Doug Kearns

    zimba Guest

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

    Doug Kearns a =E9crit :

    > G'day folks,
    >
    > A new release of Vim/Ruby has just been uploaded to RubyForge.
    >
    > This includes a few minor bug fixes and is intended as the final
    > release prior to next week's Vim 6.4 beta.
    >
    > If there are any serious problems please report them, as soon as
    > possible, via the project's bug tracker so they can be attended to
    > prior to the Vim beta release.
    >
    > Regards, Doug (for the Vim-Ruby Team)
    >
    > http://vim-ruby.rubyforge.org/
    > http://rubyforge.org/projects/vim-ruby/
    >
    >

    Oh joy ! Oh happyness !

    Your work is highly appreciated by at least one person (me).

    Keep up the good work :)

    Cheers,
    zimba
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFDRBtYBPd9MK2EeAsRAjKLAKDO4pKNeSGuRvFU5lXPVJ+Riwe7aQCgl8Vv
    UTqiX6M941JjM0fTgEVu1zQ=3D
    =3DBqyo
    -----END PGP SIGNATURE-----
     
    zimba, Oct 5, 2005
    #2
    1. Advertising

  3. On 10/5/05, zimba <> wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > Doug Kearns a =E9crit :
    >
    > > G'day folks,
    > >
    > > A new release of Vim/Ruby has just been uploaded to RubyForge.
    > >
    > > This includes a few minor bug fixes and is intended as the final
    > > release prior to next week's Vim 6.4 beta.
    > >
    > > If there are any serious problems please report them, as soon as
    > > possible, via the project's bug tracker so they can be attended to
    > > prior to the Vim beta release.
    > >
    > > Regards, Doug (for the Vim-Ruby Team)
    > >
    > > http://vim-ruby.rubyforge.org/
    > > http://rubyforge.org/projects/vim-ruby/
    > >
    > >

    > Oh joy ! Oh happyness !
    >
    > Your work is highly appreciated by at least one person (me).
    >


    You're not only ;-)

    > Keep up the good work :)


    Here's a little feedback about the ruby "matchit" for classes: The
    following code causes problem:


    class Test
    def initialize
    @a =3D { :class =3D> "left", :id =3D> "test"}
    end
    end

    The "end" for class will match with :class.

    Raph


    >
    > Cheers,
    > zimba
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.4.1 (GNU/Linux)
    > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
    >
    > iD8DBQFDRBtYBPd9MK2EeAsRAjKLAKDO4pKNeSGuRvFU5lXPVJ+Riwe7aQCgl8Vv
    > UTqiX6M941JjM0fTgEVu1zQ=3D
    > =3DBqyo
    > -----END PGP SIGNATURE-----
    >
    >
    >
     
    Raphael Bauduin, Oct 5, 2005
    #3
  4. Doug Kearns

    Joe Van Dyk Guest

    On 10/5/05, Raphael Bauduin <> wrote:
    > On 10/5/05, zimba <> wrote:
    > > -----BEGIN PGP SIGNED MESSAGE-----
    > > Hash: SHA1
    > >
    > > Doug Kearns a =E9crit :
    > >
    > > > G'day folks,
    > > >
    > > > A new release of Vim/Ruby has just been uploaded to RubyForge.
    > > >
    > > > This includes a few minor bug fixes and is intended as the final
    > > > release prior to next week's Vim 6.4 beta.
    > > >
    > > > If there are any serious problems please report them, as soon as
    > > > possible, via the project's bug tracker so they can be attended to
    > > > prior to the Vim beta release.
    > > >
    > > > Regards, Doug (for the Vim-Ruby Team)
    > > >
    > > > http://vim-ruby.rubyforge.org/
    > > > http://rubyforge.org/projects/vim-ruby/
    > > >
    > > >

    > > Oh joy ! Oh happyness !
    > >
    > > Your work is highly appreciated by at least one person (me).
    > >

    >
    > You're not only ;-)
    >
    > > Keep up the good work :)

    >
    > Here's a little feedback about the ruby "matchit" for classes: The
    > following code causes problem:
    >
    >
    > class Test
    > def initialize
    > @a =3D { :class =3D> "left", :id =3D> "test"}
    > end
    > end
    >
    > The "end" for class will match with :class.


    What do you mean by 'matchit'?
     
    Joe Van Dyk, Oct 5, 2005
    #4
  5. Doug Kearns

    Doug Kearns Guest

    On Thu, Oct 06, 2005 at 05:19:46AM +0900, Raphael Bauduin wrote:

    <snip>

    > Here's a little feedback about the ruby "matchit" for classes: The
    > following code causes problem:
    >
    >
    > class Test
    > def initialize
    > @a = { :class => "left", :id => "test"}
    > end
    > end
    >
    > The "end" for class will match with :class.


    Fixed in CVS - thanks!

    Regards,
    Doug
     
    Doug Kearns, Oct 6, 2005
    #5
  6. Doug Kearns

    Doug Kearns Guest

    On Thu, Oct 06, 2005 at 05:59:20AM +0900, Joe Van Dyk wrote:

    <snip>

    > What do you mean by 'matchit'?


    :help %
    :help matchit

    It allows for user defined items to be matched when using the '%'
    motion. For example, with the pattern defined for Ruby, you can move
    between 'class' and 'end' or between 'begin', 'rescue' and 'end' etc.

    Regards,
    Doug
     
    Doug Kearns, Oct 6, 2005
    #6
  7. Doug Kearns

    lists Guest

    Thanks to all for their work. I've just submitted bug 2605:

    With vim-ruby-2005.10.07, if I type

    puts "you're

    then press the space bar, the word 'return' is automatically
    completed for me:

    puts "you'return

    -Ryan

    On Oct 5, 2005, at 8:58 AM, Doug Kearns wrote:

    > G'day folks,
    >
    > A new release of Vim/Ruby has just been uploaded to RubyForge.
    >
    > This includes a few minor bug fixes and is intended as the final
    > release
    > prior to next week's Vim 6.4 beta.
    >
    > If there are any serious problems please report them, as soon as
    > possible, via the project's bug tracker so they can be attended to
    > prior
    > to the Vim beta release.
    >
    > Regards,
    > Doug (for the Vim-Ruby Team)
    >
    > http://vim-ruby.rubyforge.org/
    > http://rubyforge.org/projects/vim-ruby/
    >
    >
     
    lists, Oct 10, 2005
    #7
  8. Doug Kearns

    Doug Kearns Guest

    On Mon, Oct 10, 2005 at 08:17:19AM +0900, lists wrote:
    > Thanks to all for their work. I've just submitted bug 2605:
    >
    > With vim-ruby-2005.10.07, if I type
    >
    > puts "you're
    >
    > then press the space bar, the word 'return' is automatically
    > completed for me:
    >
    > puts "you'return


    Weird! ;-)

    This can't be the result of anything distributed by the vim-ruby
    project. Perhaps, you have <SPACE> mapped to something like <C-N> by
    some 'funky' completion plugin or similar?

    Anyway, let's move the exchange over to the bug tracker and see if we
    can work it out.

    Regards,
    Doug
     
    Doug Kearns, Oct 10, 2005
    #8
  9. Doug Kearns

    Hugh Sasse Guest

    On Wed, 5 Oct 2005, Doug Kearns wrote:

    > G'day folks,
    >
    > A new release of Vim/Ruby has just been uploaded to RubyForge.
    >


    Damn! This problem is just too close to the wire with 6.4 imminent.
    I'm getting

    brains hgs 20 %> cat !$
    cat short_heredoc.rb
    class Example
    def initialize
    print <<EOF
    "Hi there"
    EOF
    end
    end

    brains hgs 21 %>
    indented like:
    brains hgs 21 %> !v
    vim short_heredoc.rb
    brains hgs 22 %> cat !$
    cat short_heredoc.rb
    class Example
    def initialize
    print <<EOF
    "Hi there"
    EOF
    end
    end

    brains hgs 23 %>
    Maybe I have a stale indent file?
    Thank you
    Hugh
     
    Hugh Sasse, Oct 11, 2005
    #9
  10. Hugh Sasse wrote:

    > Damn! This problem is just too close to the wire with 6.4 imminent.
    > I'm getting
    >=20
    > brains hgs 20 %> cat !$
    > cat short_heredoc.rb
    > class Example
    > def initialize
    > print <<EOF
    > "Hi there"
    > EOF
    > end
    > end
    >=20
    > brains hgs 21 %>
    > indented like:
    > brains hgs 21 %> !v
    > vim short_heredoc.rb
    > brains hgs 22 %> cat !$
    > cat short_heredoc.rb
    > class Example
    > def initialize
    > print <<EOF
    > "Hi there"
    > EOF
    > end
    > end


    Huh? The indentation doesn=E2=80=99t indent multiline strings, so if you=
    have

    print <<EOF
    "Blah"
    EOF

    it should leave everything were you put it. That=E2=80=99s a compromise =
    for how
    exceedingly difficult it would be to implement this correctly without
    going LALR on it. Perhaps you don=E2=80=99t have syntax on?,
    nikolai

    --=20
    Nikolai Weibull: now available free of charge at http://bitwi.se/!
    Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
    main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
     
    Nikolai Weibull, Oct 11, 2005
    #10
  11. Doug Kearns

    Hugh Sasse Guest

    ---559023410-992951867-1129041065=:6679
    Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-992951867-1129041065=:6679"

    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    ---559023410-992951867-1129041065=:6679
    Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
    Content-Transfer-Encoding: QUOTED-PRINTABLE

    On Tue, 11 Oct 2005, Nikolai Weibull wrote:

    > Huh? The indentation doesn=E2=80=99t indent multiline strings, so if you=

    have
    >
    > print <<EOF
    > "Blah"
    > EOF
    >
    > it should leave everything were you put it. That=E2=80=99s a compromise =

    for how

    That's what I'd expect.

    > exceedingly difficult it would be to implement this correctly without
    > going LALR on it. Perhaps you don=E2=80=99t have syntax on?,


    Yes, I have syntax on. I'll poke around and see if I have any stale
    indent files. If its working for you then I've botched something at
    the unix end this time.
    > nikolai
    >

    Thank you.
    Hugh
    ---559023410-992951867-1129041065=:6679--
    ---559023410-992951867-1129041065=:6679--
     
    Hugh Sasse, Oct 11, 2005
    #11
  12. Doug Kearns

    Hugh Sasse Guest

    ---559023410-1691952160-1129041925=:6679
    Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1691952160-1129041925=:6679"

    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    ---559023410-1691952160-1129041925=:6679
    Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
    Content-Transfer-Encoding: QUOTED-PRINTABLE

    On Tue, 11 Oct 2005, Hugh Sasse wrote:

    > On Tue, 11 Oct 2005, Nikolai Weibull wrote:
    >
    >
    >> Huh? The indentation doesn=E2=80=99t indent multiline strings, so if yo=

    u have
    >
    >>=20

    >
    >> print <<EOF

    >
    >> "Blah"

    >
    >> EOF

    >
    >>=20

    >
    >> it should leave everything were you put it. That=E2=80=99s a compromise=

    for how
    >
    >
    > That's what I'd expect.
    >
    >
    >> exceedingly difficult it would be to implement this correctly without

    >
    >> going LALR on it. Perhaps you don=E2=80=99t have syntax on?,

    >
    >
    > Yes, I have syntax on. I'll poke around and see if I have any stale
    >
    > indent files. If its working for you then I've botched something at
    >
    > the unix end this time.
    >

    OK, I've removed an old indent/ruby.vim file (actually mv'ed it to
    old_ruby.vim) and now scriptnames gives me
    1: /home/hgs/.vimrc
    2: /usr/local/share/vim/vim63/ftplugin/man.vim
    3: /usr/local/share/vim/vim63/filetype.vim
    4: /usr/local/share/vim/vimfiles/ftdetect/ruby.vim
    5: /usr/local/share/vim/vim63/ftplugin.vim
    6: /usr/local/share/vim/vim63/indent.vim
    7: /usr/local/share/vim/vim63/syntax/syntax.vim
    8: /usr/local/share/vim/vim63/syntax/synload.vim
    9: /usr/local/share/vim/vim63/syntax/syncolor.vim
    10: /home/hgs/.vim/plugin/matchit.vim
    11: /usr/local/share/vim/vim63/plugin/explorer.vim
    12: /usr/local/share/vim/vim63/plugin/gzip.vim
    13: /usr/local/share/vim/vim63/plugin/netrw.vim
    14: /usr/local/share/vim/vim63/plugin/rrhelper.vim
    15: /usr/local/share/vim/vim63/plugin/tohtml.vim
    16: /usr/local/share/vim/vimfiles/ftplugin/ruby.vim
    17: /usr/local/share/vim/vim63/ftplugin/ruby.vim
    18: /usr/local/share/vim/vimfiles/indent/ruby.vim
    19: /usr/local/share/vim/vimfiles/syntax/ruby.vim
    20: /usr/local/share/vim/vim63/syntax/ruby.vim
    21: /home/hgs/.vim/after/syntax/ruby.vim

    But I still have the problem. [Incidentally, despite my matchit
    being called bouncing on % does nothing.
    >> nikolai

    >


    Any ideas? Thank you,
    Hugh
    ---559023410-1691952160-1129041925=:6679--
    ---559023410-1691952160-1129041925=:6679--
     
    Hugh Sasse, Oct 11, 2005
    #12
  13. Hugh Sasse wrote:

    > But I still have the problem. [Incidentally, despite my matchit
    > being called bouncing on % does nothing.


    Exactly how do you indent? (I guess checking your ftplugin/ruby.vim
    isn't messing things up would do as well.),
    nikolai

    --
    Nikolai Weibull: now available free of charge at http://bitwi.se/!
    Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
    main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
     
    Nikolai Weibull, Oct 11, 2005
    #13
  14. Doug Kearns

    Hugh Sasse Guest

    On Wed, 12 Oct 2005, Nikolai Weibull wrote:

    > Hugh Sasse wrote:
    >
    >> But I still have the problem. [Incidentally, despite my matchit
    >> being called bouncing on % does nothing.

    >
    > Exactly how do you indent? (I guess checking your ftplugin/ruby.vim

    gg=G

    > isn't messing things up would do as well.),


    I'll have a look. Thank you.
    > nikolai

    Hugh
     
    Hugh Sasse, Oct 11, 2005
    #14
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gavin Sinclair
    Replies:
    4
    Views:
    100
    Nikolai Weibull
    Sep 20, 2004
  2. Doug Kearns
    Replies:
    4
    Views:
    130
    Thomas Kirchner
    Sep 16, 2005
  3. Doug Kearns
    Replies:
    0
    Views:
    106
    Doug Kearns
    Sep 24, 2005
  4. Vincent Foley
    Replies:
    6
    Views:
    159
    Gavin Sinclair
    Apr 10, 2006
  5. Doug Kearns
    Replies:
    2
    Views:
    113
    Martin DeMello
    Mar 3, 2007
Loading...

Share This Page