"VS Code", "MacVim", "Vim" or the name of the program the template starts. An unusable template gives "editor".
Examples
from spotregen.gui.editor import PRESETS, editor_nameprint([editor_name(PRESETS[name]) for name in PRESETS])print(editor_name("emacs +{line}{file}"), editor_name("'unbalanced"))