add swp file ignore

test api