bump orgmode plugin and update patch
This commit is contained in:
parent
99e095d919
commit
d317a7c665
3 changed files with 10 additions and 10 deletions
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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 ''
|
||||
|
|
Reference in a new issue