Temporary fix to mitigate the issue no being able to get CWD in setup
This commit is contained in:
1
init.lua
1
init.lua
@@ -106,6 +106,7 @@ local _save_last_directory = ya.sync(function(state)
|
||||
ps.sub("hover", function()
|
||||
local folder = Folder:by_kind(Folder.CURRENT)
|
||||
state.curr_dir.cursor = folder.cursor
|
||||
state.curr_dir.desc = tostring(folder.cwd) -- FIX Not needed when the we are able to get the CWD in the setup
|
||||
end)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user