How do I drag a self defined txt format file (.lua) onto the textasset slot?

unity built-in textasset doest not support .lua file, no way to drag it onto the slot. and If I change the file variable type to UnityEngine.Object, it became possilbe to drag and drop but no way to read the text content inside it. because the type Object can not be transformed to type TextAsset.
does anyone have any better idea?

Rename your file to .lua.bytes, and use TextAsset.bytes instead of TextAsset.text. This way you can also deal with encoding correctly.

I still want to keep .lua, I dont want to add .bytes to it.Because some other editors could recognize this lua file.
otherwise I could directly take .txt as postfix.
I think .lua is filterred and neglected in unityengine when dealing with TextAsset.
Is it possible to change the way unity works? by recompiling unityengine.dll or unityEditor.dll…
thx anyway…