Fixed broken closure, added .swp to gitignore