highlighting for ruby, and NERDTree doesn't let me open other .rb
files after opening the first.
On Nov 9, 11:14 am, "Wael M. Nasreddine" <wael.nasredd...@gmail.com>
wrote:
> If you're just starting up with Vim, try Vimius (https://github.com/TechnoGate/vimius)..
>
> On Wed, Nov 9, 2011 at 17:12, Ivan S. Freitas <ivansichfrei...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > On Tue, Nov 8, 2011 at 4:04 PM, Marcus Gartner <m.a.gart...@gmail.com>
> > wrote:
> > > I've been trying for the life of me to get ruby code to auto-indent,
> > > but I've had no luck. It looks like ruby auto-indenting should work
> > > jsut by turning on autoindent and smartindent.
>
> > > My .vimrc file can be seen here:https://gist.github.com/1348562
>
> > > Auto-indenting seems to be working fine with other languages, such as
> > > javascript. Any ideas why its not working for Ruby?
>
> > Probably you will want this:
>
> > filetype indent plugin on
> > (see line 312 inhttps://github.com/ISF/dotfiles/blob/master/.vimrc)
>
> > Also, the "set autoindent" is not necessary (smartindent overwrites
> > it, and for ruby is a better option I think).
>
> > --
> > Ivan Sichmann Freitas
> > GNU/Linux user #509059
>
> > --
> > 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, visithttp://www.vim.org/maillist.php
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Waêl Nasreddine
> TechnoGatewww.technogate.fr
> mobile : 06.41.68.38.35
> agence : 09.70.444.236
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
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