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": {
"flake": false,
"locked": {
"lastModified": 1669833408,
"narHash": "sha256-7q+s5jwscUBsuk6/OfgpYdOyCEykOss5CpkhEc84E9I=",
"lastModified": 1669843678,
"narHash": "sha256-zut3orH6okjb9NLvpoQ/S0jDTKGEe41ULXOKjBPqYO0=",
"owner": "nvim-orgmode",
"repo": "orgmode",
"rev": "4e89bd022089888588b7d8c592a82aebe8bf68b5",
"rev": "fc9bb0f5823d01e4008e4b86663772d4148aa9ce",
"type": "github"
},
"original": {
"owner": "nvim-orgmode",
"repo": "orgmode",
"rev": "4e89bd022089888588b7d8c592a82aebe8bf68b5",
"rev": "fc9bb0f5823d01e4008e4b86663772d4148aa9ce",
"type": "github"
}
},

View File

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

View File

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