bump orgmode plugin and update patch

This commit is contained in:
Dmitriy Pleshevskiy 2022-12-01 10:18:47 +03:00
parent 99e095d919
commit d317a7c665
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
3 changed files with 10 additions and 10 deletions

View File

@ -270,17 +270,17 @@
"nvim-orgmode": { "nvim-orgmode": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1669833408, "lastModified": 1669843678,
"narHash": "sha256-7q+s5jwscUBsuk6/OfgpYdOyCEykOss5CpkhEc84E9I=", "narHash": "sha256-zut3orH6okjb9NLvpoQ/S0jDTKGEe41ULXOKjBPqYO0=",
"owner": "nvim-orgmode", "owner": "nvim-orgmode",
"repo": "orgmode", "repo": "orgmode",
"rev": "4e89bd022089888588b7d8c592a82aebe8bf68b5", "rev": "fc9bb0f5823d01e4008e4b86663772d4148aa9ce",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nvim-orgmode", "owner": "nvim-orgmode",
"repo": "orgmode", "repo": "orgmode",
"rev": "4e89bd022089888588b7d8c592a82aebe8bf68b5", "rev": "fc9bb0f5823d01e4008e4b86663772d4148aa9ce",
"type": "github" "type": "github"
} }
}, },

View File

@ -141,7 +141,7 @@
# https://github.com/nvim-orgmode/orgmode # https://github.com/nvim-orgmode/orgmode
nvim-orgmode = { nvim-orgmode = {
url = "github:nvim-orgmode/orgmode?rev=4e89bd022089888588b7d8c592a82aebe8bf68b5"; url = "github:nvim-orgmode/orgmode?rev=fc9bb0f5823d01e4008e4b86663772d4148aa9ce";
flake = false; flake = false;
}; };

View File

@ -1,5 +1,5 @@
diff --git a/lua/orgmode/init.lua b/lua/orgmode/init.lua diff --git a/lua/orgmode/init.lua b/lua/orgmode/init.lua
index 274e004..7a25318 100644 index 3b72f78..046a02e 100644
--- a/lua/orgmode/init.lua --- a/lua/orgmode/init.lua
+++ b/lua/orgmode/init.lua +++ b/lua/orgmode/init.lua
@@ -1,11 +1,9 @@ @@ -1,11 +1,9 @@
@ -14,11 +14,11 @@ index 274e004..7a25318 100644
---@field agenda Agenda ---@field agenda Agenda
---@field capture Capture ---@field capture Capture
---@field clock Clock ---@field clock Clock
@@ -66,52 +64,21 @@ function Org:setup_autocmds() @@ -60,52 +58,21 @@ function Org:setup_autocmds()
pattern = { '*.org', '*.org_archive' }, pattern = 'org',
group = org_augroup, group = org_augroup,
callback = function() callback = function()
require('orgmode.org.diagnostics').report() require('orgmode').reload(vim.fn.expand('<afile>:p'))
end, end,
}) })
end end
@ -67,7 +67,7 @@ index 274e004..7a25318 100644
end)) end))
end end
config:setup_mappings('global') config:setup_mappings('global')
@@ -185,15 +152,14 @@ end @@ -187,15 +154,14 @@ end
function _G.orgmode.statusline() function _G.orgmode.statusline()
if not instance or not instance.initialized then if not instance or not instance.initialized then
return '' return ''