Merge pull request #279 from bsutic/improve-ruby-desc
Improve ruby `desc` snippet
This commit is contained in:
commit
58231ac52c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user