With the current implementation Rack will accept one editor for all backends. However it doesn't make much sense to open .pd files with a code editor.
Suggestion: Remove the option to set an editor in Rack altogether and rather rely on the system to open the file with the associated program to the file-type, a.k.a. xdg-open on Linux.