Permalink
Browse files

Try moving start into projectionist config

  • Loading branch information...
1 parent 3dca898 commit 609227534f11a7cf7b3ba1cf51c79b72e5c9ba1b @tpope committed May 22, 2015
Showing with 1 addition and 5 deletions.
  1. +0 −4 autoload/rails.vim
  2. +1 −1 plugin/rails.vim
View
@@ -4867,10 +4867,6 @@ function! rails#buffer_setup() abort
call self.setvar('dispatch', ':Rake')
endif
endif
-
- if empty(self.getvar('start'))
- call self.setvar('start', ':Server')
- endif
endfunction
" }}}1
View
@@ -82,7 +82,7 @@ augroup railsPluginDetect
autocmd User ProjectionistDetect
\ if RailsDetect(get(g:, 'projectionist_file', '')) |
\ call projectionist#append(b:rails_root,
- \ {'*': {}}) |
+ \ {'*': {"start": rails#app().static_rails_command('server')}}) |
\ endif
augroup END

0 comments on commit 6092275

Please sign in to comment.