If you use #vim to edit #Ghidra sources, beware that some build scripts try to handle all files in a directory, so .swp’s can cause build errors.
#ProTIp
(Neovim stores swap files under your config directory by default, so the situation is better there)