Skip to content

Commit 2b4cb0f

Browse files
committed
Tweak anticipatory {} expansions
1 parent cec12aa commit 2b4cb0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

autoload/rails.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4370,12 +4370,14 @@ function! s:expand_placeholders(string, placeholders)
43704370
\ '{}': '%s',
43714371
\ '{capitalize|camelcase|colons}': '%S',
43724372
\ '{capitalize|camelcase|dot}': '%S',
4373+
\ '{camelcase|capitalize|colons}': '%S',
4374+
\ '{camelcase|capitalize|dot}': '%S',
43734375
\ '{plural}': '%p',
43744376
\ '{pluralize}': '%p',
43754377
\ '{singular}': '%i',
43764378
\ '{singularize}': '%i',
4377-
\ '{humanize}': '%h',
4378-
\ '{humancase}': '%h',
4379+
\ '{capitalize|blank}': '%h',
4380+
\ '{underscore|capitalize|blank}': '%h',
43794381
\ '{line}': '%l',
43804382
\ '{lnum}': '%l',
43814383
\ '{define}': '%d',

0 commit comments

Comments
 (0)