summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/config/cmp.fnl1
-rw-r--r--fnl/config/which-key.fnl4
-rw-r--r--fnl/plugins.fnl3
3 files changed, 5 insertions, 3 deletions
diff --git a/fnl/config/cmp.fnl b/fnl/config/cmp.fnl
index 73ebba4..24115d7 100644
--- a/fnl/config/cmp.fnl
+++ b/fnl/config/cmp.fnl
@@ -26,6 +26,7 @@
{:name :nvim_lua}
{:name :luasnip}
{:name :spell}
+ {:name :orgmode}
{:name :buffer :keyword_length 4}
{:name :path :keyword_length 6}]
:formatting {:format (lspkind.cmp_format {:with_text true
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 2fa2d5b..fdd76b5 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -117,9 +117,9 @@
"Workspace Symbols"]})
(def- org {:name :Orgmode
- :a ["<cmd>lua require('orgmode').action('agenda.prompt')"
+ :a ["<cmd>lua require('orgmode').action('agenda.prompt')<cr>"
"Open agenda prompt"]
- :c ["<cmd>lua require('orgmode').action('capture.prompt')"
+ :c ["<cmd>lua require('orgmode').action('capture.prompt')<cr>"
"Open capture prompt"]})
(def- packer {:name :Packer
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl
index 1c05b5a..6527ed9 100644
--- a/fnl/plugins.fnl
+++ b/fnl/plugins.fnl
@@ -80,7 +80,8 @@
(def misc [{1 :nvim-orgmode/orgmode
:config (fn []
- (require :config.window-picker))
+ (require :config.orgmode))
+ :requires :nvim-treesitter/nvim-treesitter
:event :BufWinEnter}
{1 :akinsho/toggleterm.nvim
:config (fn []