aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/orgmode.lua
diff options
context:
space:
mode:
authorMax Christian Pohle2024-08-29 14:54:43 +0200
committerMax Christian Pohle2024-08-29 14:54:43 +0200
commit7172c36d4508510ad844fcbea1bd3bc496da809e (patch)
tree9a94b4ff19c19e96f7faf9810a59a18b8e08e364 /lua/plugins/orgmode.lua
parent35ba5a3b68e334ea8dc2760536d16f50f2868faa (diff)
downloadvim-7172c36d4508510ad844fcbea1bd3bc496da809e.tar.bz2
vim-7172c36d4508510ad844fcbea1bd3bc496da809e.zip
improved config by splitting it.
Diffstat (limited to 'lua/plugins/orgmode.lua')
-rw-r--r--lua/plugins/orgmode.lua17
1 files changed, 17 insertions, 0 deletions
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 @@
1return {
2 'nvim-orgmode/orgmode',
3 event = 'VeryLazy',
4 ft = { 'org' },
5 config = function()
6 -- Setup orgmode
7 require('orgmode').setup({
8 org_agenda_files = '~/orgfiles/**/*',
9 org_default_notes_file = '~/orgfiles/refile.org',
10 })
11 require('cmp').setup({
12 sources = {
13 { name = 'orgmode' }
14 }
15 })
16 end,
17}
..