diff options
Diffstat (limited to 'fnl/plugins/editor/orgmode.fnl')
-rw-r--r-- | fnl/plugins/editor/orgmode.fnl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fnl/plugins/editor/orgmode.fnl b/fnl/plugins/editor/orgmode.fnl index 954e7d4..dbfe6b2 100644 --- a/fnl/plugins/editor/orgmode.fnl +++ b/fnl/plugins/editor/orgmode.fnl @@ -21,6 +21,8 @@ [[:FileType {:pattern :org :callback (fn [] + (vim.cmd "setlocal nofoldenable") + (tset vim.opt_local :foldlevel 99) (tset vim.opt_local :conceallevel 2) (tset vim.opt_local :concealcursor :nc))}]]) @@ -41,9 +43,8 @@ :org_agenda_templates templates}) (fn config [] - (let [orgmode (require :orgmode) - cmds (require :util.cmds)] + (let [orgmode (require :orgmode)] (orgmode.setup_ts_grammar) (orgmode.setup opts))) -{1 :nvim-orgmode/orgmode : config : init :event :BufReadPost : keys} +{1 :nvim-orgmode/orgmode : config : init :event :VeryLazy : keys} |