I don't think, we'll add this. I prefer to interpret the input parameter as a plain string. If we start parsing here, people will come up with other and more complicated commands in there. In the end, this would aim towards a complete latex parser. And that's beyond the capabilities of an editor. So it's more concise in this case to have no parsing at all than to do some.
Anyway, in most cases, relative paths should do for input (which work). It should be quite rare that a \mydir command is really useful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think, we'll add this. I prefer to interpret the input parameter as a plain string. If we start parsing here, people will come up with other and more complicated commands in there. In the end, this would aim towards a complete latex parser. And that's beyond the capabilities of an editor. So it's more concise in this case to have no parsing at all than to do some.
Anyway, in most cases, relative paths should do for input (which work). It should be quite rare that a \mydir command is really useful.
Perhaps the new tokenizer stuff can handle this?