Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 51a9bd2

Browse files
committed
Turn off GUI menu by default
The plan is to remove the menu entirely. If you'll miss it, speak now or forever hold your peace.
1 parent 70df845 commit 51a9bd2

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

doc/rails.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -950,8 +950,7 @@ JavaScript files, since ctags has a tendency to choke on those.
950950

951951
*g:rails_default_file* >
952952
let g:rails_default_file='config/database.yml'
953-
File to load when a new Rails application is created, or when loading an
954-
existing project from the menu. Defaults to the README.
953+
File to load when a new Rails application is created. Defaults to the README.
955954

956955
*rails-screen* *g:rails_gnu_screen* >
957956
let g:rails_gnu_screen=1
@@ -980,8 +979,8 @@ Modelines are deprecated and disabled by default.
980979
*g:rails_menu* >
981980
let g:rails_menu=1
982981
When 2, a Rails menu is created. When 1, this menu is a submenu under the
983-
Plugin menu. The default is 1 except on MacVim, where reports of weird
984-
terminal output have led to it being disabled by default.
982+
Plugin menu. The default is 0, as the menu is slated for removal from future
983+
versions of rails.vim.
985984

986985
*g:rails_url* >
987986
let g:rails_url='http://localhost:3000/'

plugin/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ call s:SetOptDefault("rails_ctags_arguments","--languages=-javascript")
5959
call s:SetOptDefault("rails_default_file","README")
6060
call s:SetOptDefault("rails_root_url",'http://localhost:3000/')
6161
call s:SetOptDefault("rails_modelines",0)
62-
call s:SetOptDefault("rails_menu",!has('mac'))
62+
call s:SetOptDefault("rails_menu",0)
6363
call s:SetOptDefault("rails_gnu_screen",1)
6464
call s:SetOptDefault("rails_history_size",5)
6565
call s:SetOptDefault("rails_generators","controller\ngenerator\nhelper\nintegration_test\nmailer\nmetal\nmigration\nmodel\nobserver\nperformance_test\nplugin\nresource\nscaffold\nscaffold_controller\nsession_migration\nstylesheets")

0 commit comments

Comments
 (0)