From 7172c36d4508510ad844fcbea1bd3bc496da809e Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 29 Aug 2024 14:54:43 +0200 Subject: improved config by splitting it. --- lua/plugins/orgmode.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/plugins/orgmode.lua (limited to 'lua/plugins/orgmode.lua') diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua new file mode 100644 index 0000000..fe09f3e --- /dev/null +++ b/lua/plugins/orgmode.lua @@ -0,0 +1,17 @@ +return { + 'nvim-orgmode/orgmode', + event = 'VeryLazy', + ft = { 'org' }, + config = function() + -- Setup orgmode + require('orgmode').setup({ + org_agenda_files = '~/orgfiles/**/*', + org_default_notes_file = '~/orgfiles/refile.org', + }) + require('cmp').setup({ + sources = { + { name = 'orgmode' } + } + }) + end, +} -- cgit v1.2.3