Yeah, with external tools you can run anything, I use this piece of code to run my games :BozoDel wrote:Whaaaa? I heard about some plugins that execute Python, but not Lua/LÖVE...master both wrote:gedit is really a good option, is really simple and have all the basic thing you will need, also you can configure it for executing you code with a key combination.
Code: Select all
#!/bin/sh
if [ -f $GEDIT_CURRENT_DOCUMENT_DIR/main.lua ]
then
gnome-terminal --title="console" -x love .
elif [ -f $GEDIT_CURRENT_DOCUMENT_DIR/../main.lua ]
then
gnome-terminal --title="console" -x love ..
else
echo "No main.lua Found!"
fi