This is a holdover from the days of bifold text.
CEDTFKFDSYLATTFU5H5TWHJYBU6QIA2RD4EXXPC2BDU63DDGI6AQC
ME7WBLF56X2WYKJODY47NDN4FELKIL5MYRT2MXCMZZLFKHOJMC2QC
W6XUYQKPHYZLEMBPY5L2WCGXIDBKAHVAWAH5V7BKYQXZO33DTNIQC
KKMFQDR43ZWVCDRHQLWWX3FCWCFA3ZSXYOBRJNPHUQZR2XPKWULAC
ZTK4QTZTZLI6E7MAJFKXH26MIICJSZWSM7SYSZP7U7C2IAZPGGFQC
line.filename = guess_source(line.filename)
endfunction guess_source(filename) local possible_source = filename:gsub('%.lua$', '%.splua') if file_exists(possible_source) then return possible_source else return filename end
end
function guess_source(filename)
local possible_source = filename:gsub('%.lua$', '%.splua')
if file_exists(possible_source) then
return possible_source
else
return filename
local candidate = guess_source(s..'.lua') source.switch_to_file(candidate)
local candidate = guess_source(s..'.lua')
source.switch_to_file(candidate)
source.switch_to_file(s..'.lua')