Skip to content

Commit 6c4623f

Browse files
committed
Add job navigation command
1 parent f7d264f commit 6c4623f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/rails.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2400,6 +2400,9 @@ function! s:app_commands() dict abort
24002400
let commands.mailer = [
24012401
\ {'pattern': 'app/mailers/*.rb', 'template': "class %S < ActionMailer::Base\nend", 'affinity': 'controller'},
24022402
\ {'pattern': 'app/models/*.rb', 'template': "class %S < ActionMailer::Base\nend", 'affinity': 'controller', 'complete': 0}]
2403+
let commands.job = [{
2404+
\ 'pattern': 'app/jobs/*_job.rb',
2405+
\ 'template': "class %SJob < ActiveJob::Base\nend"}]
24032406
let commands.model = [{
24042407
\ 'pattern': 'app/models/*.rb',
24052408
\ 'template': "class %S\nend",

0 commit comments

Comments
 (0)