Store doc's babs_filename without home encoding

This is the way was supposed to be. All the filenames are supposed to be
stored without home encoding, i.e. with explicit paths.

Should fix issue #177 and make PR

https://github.com/franko/lite-xl/pull/174

unneeded.

It may also address issue #174 but would need further verifications.
This commit is contained in:
Francesco Abbate 2021-05-05 08:47:45 +02:00
parent 4c42dd4adc
commit 820d520fc3
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ end
function Doc:set_filename(filename) function Doc:set_filename(filename)
self.filename = filename self.filename = filename
self.abs_filename = common.home_encode(system.absolute_path(filename)) self.abs_filename = system.absolute_path(filename)
end end