From ad705c0776db5ec43ecb50a2a4bf67538a99a9b2 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Wed, 22 May 2024 13:51:17 +0200 Subject: [PATCH] add orgmode --- lua/plugins/orgmode.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lua/plugins/orgmode.lua diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua new file mode 100644 index 0000000..f2d54da --- /dev/null +++ b/lua/plugins/orgmode.lua @@ -0,0 +1,19 @@ +return { + 'nvim-orgmode/orgmode', + event = 'VeryLazy', + ft = { 'org' }, + config = function() + -- Setup orgmode + require('orgmode').setup { + org_agenda_files = '~/org/**/*', + org_default_notes_file = '~/org/refile.org', + } + + -- NOTE: If you are using nvim-treesitter with `ensure_installed = "all"` option + -- add `org` to ignore_install + -- require('nvim-treesitter.configs').setup({ + -- ensure_installed = 'all', + -- ignore_install = { 'org' }, + -- }) + end, +}