diff options
| author | Francesco <francesco.bbt@gmail.com> | 2021-06-13 19:50:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-13 19:50:42 +0200 |
| commit | 98164f6d4f7e70d70710804c7baa31a8d93c19b9 (patch) | |
| tree | cc5719af4b0b0374fe9a4e36b1d7764efbcb2f82 /data/plugins/language_lua.lua | |
| parent | 9823da8531fc867bf288ed136f9ec532719d3bcb (diff) | |
| download | lite-xl-98164f6d4f7e70d70710804c7baa31a8d93c19b9.tar.gz lite-xl-98164f6d4f7e70d70710804c7baa31a8d93c19b9.zip | |
Integrate mkdirp function in common module (#265)
Move the function mkdirp into common to be generally available.
Use the new common.mkdirp from create_user_directory() from
core/init.lua replacing previous parent directory creation code
within the function.
The previous mkdirp function did not work on Windows where
absolute paths starts with a drive letter. The code from
create_user_directory() did not have this problem but was wrong
in the way it was creating the nested directories.
The new implementation in common.mkdirp fix both problems.
Diffstat (limited to 'data/plugins/language_lua.lua')
0 files changed, 0 insertions, 0 deletions
