I just tested the FILES region and am a bit puzzled how to make this work as expected:
If i use the snippet below from the docs..
#Files glob=*.viki types=f <<
It always lists viki files in my home directory, not the root of the interwiki i'm in, or the directory the current file is in.
Is this intended?
The glob() function is run in the current directory. You usage assumed setting the autochdir option. If you don't want to use this option, try the following line instead:
#Files glob=%:p:h/*.viki types=f <<
Please let me know if this still doesn't work. (E.g. the indentation could be a little weird.)