summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/plugins/orgmode.fnl35
-rw-r--r--lazy-lock.json1
2 files changed, 22 insertions, 14 deletions
diff --git a/fnl/plugins/orgmode.fnl b/fnl/plugins/orgmode.fnl
index ac04863..8297d13 100644
--- a/fnl/plugins/orgmode.fnl
+++ b/fnl/plugins/orgmode.fnl
@@ -56,7 +56,7 @@
(when option.action
(option.action))))))))
-(local opts
+(local org-opts
{:org_agenda_files ["~/.local/share/org/**/*"]
:org_hide_emphasis_markers true
:org_agenda_start_on_weekday false
@@ -67,24 +67,31 @@
:ui {:menu {: handler}}
:mappings {:org {:org_cycle :<c-e> :org_global_cycle :<s-e>}}})
+(local bullets-opts
+ {:concealcursor true
+ :symbols {:list (. icons :line)
+ :headlines [(. icons :orb)
+ (. icons :filled-orb)
+ (. icons :pentagon)
+ (. icons :filled-pentagon)]
+ :checkboxes {:half [(. icons :line)
+ "@org.checkbox.halfchecked"]
+ :done [(. icons :checkmark)
+ "@org.checkbox.checked"]
+ :todo [" " "@org.checkbox.checked"]}}})
+
+(local roam-opts {:directory "~/.local/share/org"})
+
(fn config []
(let [orgmode (require :orgmode)
+ roam (require :org-roam)
bullets (require :org-bullets)]
- (orgmode.setup opts)
- (bullets.setup {:concealcursor true
- :symbols {:list (. icons :line)
- :headlines [(. icons :orb)
- (. icons :filled-orb)
- (. icons :pentagon)
- (. icons :filled-pentagon)]
- :checkboxes {:half [(. icons :line)
- "@org.checkbox.halfchecked"]
- :done [(. icons :checkmark)
- "@org.checkbox.checked"]
- :todo [" " "@org.checkbox.checked"]}}})))
+ (orgmode.setup org-opts)
+ (roam.setup roam-opts)
+ (bullets.setup bullets-opts)))
{1 :nvim-orgmode/orgmode
- :dependencies :akinsho/org-bullets.nvim
+ :dependencies [:akinsho/org-bullets.nvim :chipsenkbeil/org-roam.nvim]
:ft [:org :orgagenda]
: config
: init
diff --git a/lazy-lock.json b/lazy-lock.json
index 5e0ee0c..36c86f1 100644
--- a/lazy-lock.json
+++ b/lazy-lock.json
@@ -50,6 +50,7 @@
"nvim-window-picker": { "branch": "main", "commit": "2c8200c5cbcdaac01dfe2c049997a1ca178506d8" },
"oil.nvim": { "branch": "master", "commit": "010b44a79d497c697686e2727049d3dd215bbbd6" },
"org-bullets.nvim": { "branch": "main", "commit": "3623e86e0fa6d07f45042f7207fc333c014bf167" },
+ "org-roam.nvim": { "branch": "main", "commit": "8b542cf4544c91621cc2aa6ad4ed6bffe07e14e2" },
"orgmode": { "branch": "master", "commit": "cda615fa7c8607bfb7aaf7d2c9424dd5969f2625" },
"persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" },
"plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" },