I use LUA edit. Works well, if there is a generic error when you try to load in game just hit the play button in lua edit and it will point you to the problem. When the error it gripes about is from your imports you know it should be good to go barring any specific errors from the Lotro implementation.
http://luaedit.luaforge.net/