Skip to content

Commit

Permalink
Enable g:ruby_exec by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Sep 11, 2023
1 parent 2b8c4fc commit 1ad9663
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugin/rails.vim
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ if exists('g:loaded_rails') || &cp || v:version < 800
endif
let g:loaded_rails = 1

" Turn on $LOAD_PATH detection in the ruby ftplugin
if !exists('g:ruby_exec')
let g:ruby_exec = 1
endif

" Utility Functions {{{1

function! s:error(str)
Expand Down

0 comments on commit 1ad9663

Please sign in to comment.