1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
return {
'nvim-orgmode/orgmode',
dependencies = {
{ -- Nicely formatted bullet Headings
"akinsho/org-bullets.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",
config = true,
},
},
event = 'VeryLazy',
ft = { 'org' },
config = function()
-- This is bound to org-modern:
-- local Menu = require("org-modern.menu")
-- Setup orgmode
require('orgmode').setup({
org_agenda_files = '~/Dropbox/org/**/*',
org_default_notes_file = '~/Dropbox/org/index.org',
emacs_config = {
executable_path = '/opt/homebrew/bin/emacs',
config_path = '$HOME/.config/emacs/early-init.el',
},
})
vim.opt.conceallevel = 2
vim.opt.concealcursor = 'v'
-- 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,
}
|