summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/orgmode.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor/orgmode.fnl')
-rw-r--r--fnl/plugins/editor/orgmode.fnl3
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))}]])