Skip to content

Commit

Permalink
No need to schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
desdic committed Mar 27, 2024
1 parent 5787639 commit 9612cc3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/marlin/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ local get_cursor = function()
end

local save = function(m)
vim_schedule(function()
datafile_save_data(m.opts, m.project_path, m.project_files)
end)
datafile_save_data(m.opts, m.project_path, m.project_files)
end

local update_location = function(m, event)
Expand Down

0 comments on commit 9612cc3

Please sign in to comment.