Skip to content

Commit 98fe1d2

Browse files
committed
Switch to projectionist
1 parent fe813c8 commit 98fe1d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugin/rails.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ augroup railsPluginDetect
7373
autocmd Syntax ruby,eruby,yaml,haml,javascript,coffee,sass,scss
7474
\ if RailsDetect() | call rails#buffer_syntax() | endif
7575

76-
autocmd User ProjectileDetect
77-
\ if RailsDetect() |
78-
\ call projectile#append(b:rails_root,
76+
autocmd User ProjectionistDetect
77+
\ if RailsDetect(get(g:, 'projectionist_file', '')) |
78+
\ call projectionist#append(b:rails_root,
7979
\ {'*': {'make': split(rails#app().rake_command('static'))}}) |
8080
\ endif
8181
augroup END

0 commit comments

Comments
 (0)