diff --git a/config/nvim/lua/core/plugins.lua b/config/nvim/lua/core/plugins.lua index ed3eee3b..7f820ab8 100644 --- a/config/nvim/lua/core/plugins.lua +++ b/config/nvim/lua/core/plugins.lua @@ -31,16 +31,24 @@ local plugins = { "windwp/nvim-ts-autotag", -- org mode - { - 'nvim-orgmode/orgmode', - event = 'VeryLazy', - config = function() - -- Setup orgmode - require('orgmode').setup({ - org_agenda_files = '~/org/*', - --org_default_notes_file = '~/org/refile.org', - }) - }, +{ + 'nvim-orgmode/orgmode', + event = 'VeryLazy', + config = function() + -- Setup orgmode + require('orgmode').setup({ + org_agenda_files = '~/orgfiles/**/*', + org_default_notes_file = '~/orgfiles/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, +}, -- like fzf but goofier {