File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,5 @@ setlocal omnifunc=OrgmodeOmni
32
32
setlocal commentstring = #\ % s
33
33
inoreabbrev <silent><buffer> :today: <<C-R> = luaeval (" require('orgmode.objects.date').today():to_string()" )<CR> >
34
34
inoreabbrev <silent><buffer> :now: <<C-R> = luaeval (" require('orgmode.objects.date').now():to_string()" )<CR> >
35
+
36
+ command ! - buffer OrgDiagnostics lua require (' orgmode.org.diagnostics' ).print ()
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ function Org:setup_autocmds()
56
56
vim .cmd ([[ autocmd FileType org call luaeval('require("orgmode").reload(_A)', expand('<afile>:p'))]] )
57
57
vim .cmd ([[ autocmd CursorHold,CursorHoldI *.org,*.org_archive lua require('orgmode.org.diagnostics').report()]] )
58
58
vim .cmd ([[ augroup END]] )
59
- vim .cmd ([[ command! OrgDiagnostics lua require('orgmode.org.diagnostics').print()]] )
60
59
end
61
60
62
61
--- @param opts ? table
You can’t perform that action at this time.
0 commit comments