Skip to content

Commit

Permalink
Bump minimum orgmode version, which introduces fix to promise:wait();…
Browse files Browse the repository at this point in the history
… remove patch to promise:wait()
  • Loading branch information
chipsenkbeil committed May 6, 2024
1 parent 326d750 commit 8257b07
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 106 deletions.
6 changes: 3 additions & 3 deletions DOCS.org
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

** Installation

This plugin depends on [[https://github.com/nvim-orgmode/orgmode][nvim-orgmode/orgmode]] @ [[https://github.com/nvim-orgmode/orgmode/commit/d4cc3210f235a845de8d372d02482163d31ded93][commit d4cc321]].
This plugin depends on [[https://github.com/nvim-orgmode/orgmode][nvim-orgmode/orgmode]] @ [[https://github.com/nvim-orgmode/orgmode/commit/03a207898671c3070ed5eccbe3528bc48ee8d09e][commit 03a2078]].

*** lazy.nvim

Expand All @@ -16,7 +16,7 @@
dependencies = {
{
"nvim-orgmode/orgmode",
commit = "d4cc3210f235a845de8d372d02482163d31ded93",
commit = "03a207898671c3070ed5eccbe3528bc48ee8d09e",
},
},
config = function()
Expand All @@ -35,7 +35,7 @@
requires = {
{
"nvim-orgmode/orgmode",
commit = "d4cc3210f235a845de8d372d02482163d31ded93",
commit = "03a207898671c3070ed5eccbe3528bc48ee8d09e",
},
},
config = function()
Expand Down
6 changes: 3 additions & 3 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

** Installation

This plugin depends on [[https://github.com/nvim-orgmode/orgmode][nvim-orgmode/orgmode]] @ [[https://github.com/nvim-orgmode/orgmode/commit/d4cc3210f235a845de8d372d02482163d31ded93][commit d4cc321]].
This plugin depends on [[https://github.com/nvim-orgmode/orgmode][nvim-orgmode/orgmode]] @ [[https://github.com/nvim-orgmode/orgmode/commit/03a207898671c3070ed5eccbe3528bc48ee8d09e][commit 03a2078]].

*** lazy.nvim (recommended)

Expand All @@ -22,7 +22,7 @@
dependencies = {
{
"nvim-orgmode/orgmode",
commit = "d4cc3210f235a845de8d372d02482163d31ded93",
commit = "03a207898671c3070ed5eccbe3528bc48ee8d09e",
},
},
config = function()
Expand All @@ -46,7 +46,7 @@
requires = {
{
"nvim-orgmode/orgmode",
commit = "d4cc3210f235a845de8d372d02482163d31ded93",
commit = "03a207898671c3070ed5eccbe3528bc48ee8d09e",
},
},
config = function()
Expand Down
56 changes: 0 additions & 56 deletions lua/org-roam/core/utils/promise.lua

This file was deleted.

36 changes: 0 additions & 36 deletions lua/org-roam/core/utils/promise/packed_value.lua

This file was deleted.

8 changes: 0 additions & 8 deletions lua/org-roam/setup/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,4 @@ return function(roam)
-- Fall back to the default implementation
return require("orgmode.org.mappings").open_at_point(self)
end

-- Overwrite promise.wait to throw an error when wait fails instead of returning nil
--
-- TODO: This exists as the current wait implementation does not fail on timeout and
-- instead returns nil. If this is resolved, we will remove this override.
--
-- See https://github.com/nvim-orgmode/orgmode/pull/723
require("orgmode.utils.promise").wait = require("org-roam.core.utils.promise").wait
end

0 comments on commit 8257b07

Please sign in to comment.