aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_python.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2022-03-28 22:36:49 -0400
committerjgmdev <jgmdev@gmail.com>2022-03-28 22:36:49 -0400
commitca37644aa915650fccd0c94d4ec3093100ad34c9 (patch)
tree8b517dc1a68d546fa8bd19cef841b4671583fa8a /data/plugins/language_python.lua
parent3e1fdc4157e757ceb8bbfc86eb47397526f57f80 (diff)
downloadlite-xl-ca37644aa915650fccd0c94d4ec3093100ad34c9.tar.gz
lite-xl-ca37644aa915650fccd0c94d4ec3093100ad34c9.zip
core: fixes and changes to temp files
* fix delete_temp_files() deleting in EXEDIR but temp_filename() was creating temp files in USERDIR * make delete_temp_files() public so it can be used by plugins * add optional `dir` parameter to both delete_temp_files() and temp_filename() to allow specifying a different directory, this is for example useful when generting markdown previews, the temp file should be generated in the project dir in case the readme references images that are relative to it, so the web browser can find them.
Diffstat (limited to 'data/plugins/language_python.lua')
0 files changed, 0 insertions, 0 deletions