vimrc.after_ftplugin('leaf', function(conf) vim.wo.foldlevel = 1 vim.b.caw_oneline_comment = '#' if vim.fn.exists(':AutosaveEnable') == 2 then vim.cmd('AutosaveEnable') end vim.cmd([=[ nmap ,t (leaf-switch-task-status-to-todo) nmap ,T (leaf-switch-task-status-to-todo-rec) nmap ,d (leaf-switch-task-status-to-done) nmap ,D (leaf-switch-task-status-to-done-rec) nmap ,c (leaf-switch-task-status-to-canceled) nmap ,C (leaf-switch-task-status-to-canceled-rec) ]=]) end)