First implementation of unix-like data directory
It basically works by setting the data directory to $prefix/share/lite-xl where $prefix is determined so that $prefix/bin corresponds to EXEDIR. The packages 'user' and 'user.*' are loaded from the directory '$HOME/.config/lite-xl'.
This commit is contained in:
@@ -98,7 +98,7 @@ command.add(nil, {
|
||||
end,
|
||||
|
||||
["core:open-user-module"] = function()
|
||||
core.root_view:open_doc(core.open_doc(EXEDIR .. "/data/user/init.lua"))
|
||||
core.root_view:open_doc(core.open_doc(USERDIR .. "/init.lua"))
|
||||
end,
|
||||
|
||||
["core:open-project-module"] = function()
|
||||
|
||||
Reference in New Issue
Block a user