Merge pull request #279 from bsutic/improve-ruby-desc

Improve ruby `desc` snippet
This commit is contained in:
Iuri Fernandes 2013-09-22 07:49:14 -07:00
commit 58231ac52c

View File

@ -957,7 +957,7 @@ snippet tctss
# Rspec snippets # # Rspec snippets #
########################## ##########################
snippet desc snippet desc
describe ${1:class_name} do describe ${1:`substitute(substitute(vim_snippets#Filename(), '_spec$', '', ''), '\(_\|^\)\(.\)', '\u\2', 'g')`} do
${0} ${0}
end end
snippet descm snippet descm