refactor(nvim): improve lazy loading speed of org-mode

This commit is contained in:
Price Hiller 2024-01-07 00:58:50 -06:00
parent b1fea19246
commit 7051fa4a0e
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -25,12 +25,9 @@ return {
keys = {
{ "<leader>o", desc = "> Org" },
},
init = function()
require("orgmode").setup_ts_grammar()
end,
config = function()
-- Load treesitter grammar for org
require("orgmode").setup_ts_grammar()
-- Setup orgmode
require("orgmode").setup({
org_agenda_files = "~/Notes/**/*",