I’m going through the Create your first snap - Tutorials - Ubuntu Community Hub and using gvim when I run
snapcraft
I get
The 'snap' directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior:
- .snapcraft.yaml.swp
It would help if you could specify an ‘ignore’ file to list filename patterns to ignore