diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-24 15:07:15 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-24 15:07:15 +0200 |
commit | 64a6eb23e50914fb1fa67a0de63dab6494056b3a (patch) | |
tree | 3032d7c5f423e55dae271689ea4376054a6c916d | |
parent | eacede529ead8ff6450d2da3a4e12750c303394d (diff) |
Update fix for orgmode
-rw-r--r-- | fnl/plugins/editor/orgmode.fnl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fnl/plugins/editor/orgmode.fnl b/fnl/plugins/editor/orgmode.fnl index dbfe6b2..3ffbd32 100644 --- a/fnl/plugins/editor/orgmode.fnl +++ b/fnl/plugins/editor/orgmode.fnl @@ -21,7 +21,8 @@ [[:FileType {:pattern :org :callback (fn [] - (vim.cmd "setlocal nofoldenable") + (tset vim.opt_local :foldenable false) + (tset vim.opt_local :foldlevelstart 99) (tset vim.opt_local :foldlevel 99) (tset vim.opt_local :conceallevel 2) (tset vim.opt_local :concealcursor :nc))}]]) |