Skip to content

Commit 1ad9663

Browse files
committed
Enable g:ruby_exec by default
1 parent 2b8c4fc commit 1ad9663

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plugin/rails.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ if exists('g:loaded_rails') || &cp || v:version < 800
99
endif
1010
let g:loaded_rails = 1
1111

12+
" Turn on $LOAD_PATH detection in the ruby ftplugin
13+
if !exists('g:ruby_exec')
14+
let g:ruby_exec = 1
15+
endif
16+
1217
" Utility Functions {{{1
1318

1419
function! s:error(str)

0 commit comments

Comments
 (0)