small orgmode org-roam specific modifications

This commit is contained in:
Thomas Ruoff
2024-08-01 15:37:29 +02:00
parent e75c0077b6
commit c990a9a73d

View File

@@ -1,4 +1,24 @@
return { return {
{
'chipsenkbeil/org-roam.nvim',
dependencies = {
'nvim-orgmode/orgmode',
},
opts = {
directory = '~/org',
bindings = {
prefix = '<Leader>o',
},
templates = {
n = {
description = 'Note',
template = '%?',
target = '%<%Y%m%d%H%M%S>-%[slug].org',
},
},
},
},
{
'nvim-orgmode/orgmode', 'nvim-orgmode/orgmode',
event = 'VeryLazy', event = 'VeryLazy',
ft = { 'org' }, ft = { 'org' },
@@ -9,12 +29,6 @@ return {
org_default_notes_file = '~/org/refile.org', org_default_notes_file = '~/org/refile.org',
org_todo_keywords = { 'TODO', 'WAITING', '|', 'DONE', 'DELEGATED' }, org_todo_keywords = { 'TODO', 'WAITING', '|', 'DONE', 'DELEGATED' },
} }
-- 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, end,
},
} }