summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-24 00:27:50 +0200
committeraktersnurra <grydholm@kth.se>2022-04-24 00:27:50 +0200
commit48367d99201b2b0ac00177332d749aed23a1cbce (patch)
treec3956666e64325b405da811b9b46e823e669745c
parent68216ac0709de5d9e8acbb2dd380e77fd1f52114 (diff)
refacto(orgmode): remove do
-rw-r--r--fnl/config/orgmode.fnl21
1 files changed, 10 insertions, 11 deletions
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"}}}))