vim: add the options directive for each snippet and add collection functions.