Add a path separator to the dofile

Hi,
I'm currently trying to create a script lexer but I am stuck.
Is the Lua startup script and the `dofile` really needed for a basic script lexer? This is not stated in the doc.
Thanks.