File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11" autoload/rails.vim
22" Author: Tim Pope <vimNOSPAM@tpope.org>
33
4- " Install this file as autoload/rails.vim. This file is sourced manually by
5- " plugin/rails.vim. It is in autoload directory to allow for future usage of
6- " Vim 7's autoload feature.
7-
8- " Exit quickly when:
9- " - this plugin was already loaded (or disabled)
10- " - when 'compatible' is set
11- if &cp || exists (" g:autoloaded_rails" )
4+ " Install this file as autoload/rails.vim.
5+
6+ if exists (' g:autoloaded_rails' ) || &cp
127 finish
138endif
149let g: autoloaded_rails = ' 4.1'
Original file line number Diff line number Diff line change 88" :help add-local-help (hint: :helptags ~/.vim/doc) Afterwards, you should be
99" able to do :help rails
1010
11- " Exit quickly when:
12- " - this plugin was already loaded (or disabled)
13- " - when 'compatible' is set
14- if &cp || (exists (" g:loaded_rails" ) && g: loaded_rails ) && ! (exists (" g:rails_debug" ) && g: rails_debug )
11+ if exists (' g:loaded_rails' ) || &cp || v: version < 700
1512 finish
1613endif
1714let g: loaded_rails = 1
You can’t perform that action at this time.
0 commit comments