Add orgmode.
This commit is contained in:
parent
0b34ea9d1e
commit
8830816baa
2 changed files with 28 additions and 0 deletions
27
lua/plugins/orgmode.lua
Normal file
27
lua/plugins/orgmode.lua
Normal file
|
@ -0,0 +1,27 @@
|
|||
return {
|
||||
{
|
||||
"nvim-orgmode/orgmode",
|
||||
dependencies = {
|
||||
{ "nvim-treesitter/nvim-treesitter" },
|
||||
},
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("orgmode").setup_ts_grammar()
|
||||
require("orgmode").setup({
|
||||
org_agenda_files = "~/orgfiles/**/*",
|
||||
org_default_notes_file = "~/orgfiles/refile.org",
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"org",
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"orgmode",
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue