A lil' helper to convert Jasmine assertions to Chai in vim.
In your vundle.vim:
Bundle 'davejachimiak/chazmine'
Then :BundleInstall
from vim or vim +BundleInstall +qall
from the command line.
:BundleInstall! davejachimiak/chazmine
from vim.
:Chaz
will find and replace Jasmine assertions with the equivalent Chai ones. Current substitutions are listed in the s:chaz()
function in plugin/chazmine.vim.
- Fork.
- Branch.
- Add a substitution to the
s:chaz()
function in line with the pattern there. - Pull.