Skip to content

Commit 5fbbf6d

Browse files
committed
Deprecate :Rlib with no argument
Now that :Rinitializer edits the routes file, :Rlib can be made available for something else.
1 parent 75f6233 commit 5fbbf6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/rails.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2723,6 +2723,7 @@ function! s:libEdit(cmd,...)
27232723
call s:EditSimpleRb(a:cmd,"lib",a:0? a:1 : "",extra."lib/",".rb")
27242724
else
27252725
call s:EditSimpleRb(a:cmd,"lib","routes","config/",".rb")
2726+
call s:warn('Warning: :Rlib with no argument has been deprecated in favor of :Rinitializer')
27262727
endif
27272728
endfunction
27282729

0 commit comments

Comments
 (0)