@@ -2162,6 +2162,7 @@ function! s:BufFinderCommands()
21622162 call s: addfilecmds (" loop" )
21632163 call s: addfilecmds (" factory" )
21642164 call s: addfilecmds (" cell" )
2165+ call s: addfilecmds (" job" )
21652166endfunction
21662167
21672168function ! s: completion_filter (results,A)
@@ -2275,6 +2276,10 @@ function! s:cellList(A,L,P)
22752276 return s: autocamelize (rails#app ().relglob (" app/cells/" , " **/*" , " .rb" ),a: A )
22762277endfunction
22772278
2279+ function ! s: jobList (A,L,P )
2280+ return s: autocamelize (rails#app ().relglob (" app/jobs/" , " **/*" , " .rb" ),a: A )
2281+ endfunction
2282+
22782283function ! s: loopList (A,L,P )
22792284 return s: autocamelize (rails#app ().relglob (" app/loops/" , " **/*" , " .rb" ),a: A )
22802285endfunction
@@ -2696,6 +2701,10 @@ function! s:cellEdit(cmd,...)
26962701 return s: EditSimpleRb (a: cmd ," cell" ,a: 0 ? a: 1 : s: controller (1 )," app/cells/" ," .rb" )
26972702endfunction
26982703
2704+ function ! s: jobEdit (cmd,... )
2705+ return s: EditSimpleRb (a: cmd ," job" ,a: 0 ? a: 1 : s: controller (1 )," app/jobs/" ," .rb" )
2706+ endfunction
2707+
26992708function ! s: helperEdit (cmd,... )
27002709 return s: EditSimpleRb (a: cmd ," helper" ,a: 0 ? a: 1 : s: controller (1 )," app/helpers/" ," _helper.rb" )
27012710endfunction
0 commit comments