diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index e9d7ba3..cbfc85e 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -957,7 +957,7 @@ snippet tctss # Rspec snippets # ########################## snippet desc - describe ${1:class_name} do + describe ${1:`substitute(substitute(vim_snippets#Filename(), '_spec$', '', ''), '\(_\|^\)\(.\)', '\u\2', 'g')`} do ${0} end snippet descm