refactor(nvim): improve lazy loading speed of org-mode
This commit is contained in:
parent
b1fea19246
commit
7051fa4a0e
@ -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/**/*",
|
||||
|
Loading…
Reference in New Issue
Block a user