Vim Tips Wiki
Advertisement

Use this page to discuss script 1567 rails: Ruby on Rails: easy file navigation, enhanced syntax highlighting, and more

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments

I'm not sure why, but the default presence of the menu supplied by rails.vim is

!has('mac')

I've changed it locally on my Mac (OS X, 10.6.2) to

has('gui')

And I've found no ill effects so far. -R


Ruby 1.9 new hash syntax doesn't get highlighted. It would be great to have that. In the release notes of the latest version I see this "Fix gf with Ruby 1.9 hashes" but I do not see any highlighting.

Or is the hash key just supposed to remain in default color (grey in my case - I use Gnome terminal with "Grey on Black" built in theme)?

-- brahmana (techbrahmana.blogspot.com)

Advertisement