avajs / awesome-ava

Awesome AVA resources
https://avajs.dev
Creative Commons Zero v1.0 Universal
346 stars 36 forks source link

Add Vim snippets #9

Closed zhangyuheng closed 8 years ago

zhangyuheng commented 8 years ago

Please consider adding ultisnips of ava for vim editor.

Thanks!

ref:

sindresorhus commented 8 years ago

I don't have any experience with Vim, but I did a tweet about it: https://twitter.com/ava__js/status/729190859313270785 ;)

For anyone wanting to do this, you should be able to port the existing Atom snippets pretty easily:

ahmedelgabri commented 8 years ago

@zhangyuheng I needed this anyway, so I created one here https://github.com/ahmedelgabri/vim-ava-snippets

One thing to note though that having a . in a trigger ex: t.is, etc... might be an issue but for now it's working maybe I'll change this to - instead.

sindresorhus commented 8 years ago

Wow. That was fast. Thank you @ahmedelgabri! Added :)

sindresorhus commented 8 years ago

@zhangyuheng Open issues on https://github.com/ahmedelgabri/vim-ava-snippets for any improvements or bugs.