Maybe GeanyLua + ~/.geany/plugins/geanylua/events/saved.lua
? (See geanylua-intro.html.)
local alist = {
["C"] = "BUILD_COMPILE",
["Python"] = "BUILD_LINK",
["Lua"] = "BUILD_RUN"
}
local afile = geany.fileinfo()
geany.keycmd(alist[afile.type])
where ["x"]
is the name from filetype_extensions.conf
.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.