From 48367d99201b2b0ac00177332d749aed23a1cbce Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sun, 24 Apr 2022 00:27:50 +0200 Subject: refacto(orgmode): remove do --- fnl/config/orgmode.fnl | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'fnl/config/orgmode.fnl') diff --git a/fnl/config/orgmode.fnl b/fnl/config/orgmode.fnl index 7c70ec5..56a36f7 100644 --- a/fnl/config/orgmode.fnl +++ b/fnl/config/orgmode.fnl @@ -2,14 +2,13 @@ (module config.orgmode {autoload {util util}}) (let [orgmode (util.load-plugin :orgmode)] - (do - (orgmode.setup_ts_grammar) - (orgmode.setup - {:org_agenda_files ["~/.local/share/org/**/*"] - :org_default_notes_file "~/.local/share/org/refile.org" - :org_agenda_templates - {:t {:description :Task - :template "* TODO %?\n %u"} - :m {:description :Meeting - :template "* MEETING %? :MEETING: :LOGBOOK: CLOCK: %U :END:"} - :n {:description :Note :template "* NOTE %? :NOTE:\n %u"}}}))) + (orgmode.setup_ts_grammar) + (orgmode.setup + {:org_agenda_files ["~/.local/share/org/**/*"] + :org_default_notes_file "~/.local/share/org/refile.org" + :org_agenda_templates + {:t {:description :Task + :template "* TODO %?\n %u"} + :m {:description :Meeting + :template "* MEETING %? :MEETING: :LOGBOOK: CLOCK: %U :END:"} + :n {:description :Note :template "* NOTE %? :NOTE:\n %u"}}})) -- cgit v1.2.3-70-g09d2