From b59f9a12f4799849802c17cf517cd6c76cf57122 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 16 Oct 2022 02:32:33 +0200 Subject: Fix orgmode --- fnl/config/cmp.fnl | 1 + fnl/config/which-key.fnl | 4 ++-- fnl/plugins.fnl | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'fnl') 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 ["lua require('orgmode').action('agenda.prompt')" + :a ["lua require('orgmode').action('agenda.prompt')" "Open agenda prompt"] - :c ["lua require('orgmode').action('capture.prompt')" + :c ["lua require('orgmode').action('capture.prompt')" "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 [] -- cgit v1.2.3-70-g09d2