Skip to content

Commit c67fe01

Browse files
committed
Remove legacy projection placeholders
1 parent 9477724 commit c67fe01

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

autoload/rails.vim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,6 @@ function! s:readable_default_rake_task(...) dict abort
13231323
let placeholders.l = lnum
13241324
let last = self.last_method(lnum)
13251325
if !empty(last)
1326-
let placeholders.m = last
13271326
let placeholders.d = last
13281327
endif
13291328
endif
@@ -3143,7 +3142,6 @@ function! s:readable_alternate_candidates(...) dict abort
31433142
if a:0 && a:1
31443143
let lastmethod = self.last_method(a:1)
31453144
if !empty(lastmethod)
3146-
let placeholders.m = lastmethod
31473145
let placeholders.d = lastmethod
31483146
endif
31493147
let projected = self.projected('related', placeholders)
@@ -4362,7 +4360,6 @@ function! s:readable_projected(key, ...) dict abort
43624360
\ 'S': rails#camelize(root),
43634361
\ 'h': toupper(root[0]) . tr(rails#underscore(root), '_', ' ')[1:-1],
43644362
\ 'p': rails#pluralize(root),
4365-
\ 'o': rails#singularize(root),
43664363
\ 'i': rails#singularize(root),
43674364
\ '%': '%'}, a:0 ? a:1 : {})
43684365
if suffix =~# '\.js\>'

0 commit comments

Comments
 (0)