mirror of
https://github.com/tomru/nvim.git
synced 2026-03-04 06:57:15 +01:00
small orgmode org-roam specific modifications
This commit is contained in:
@@ -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,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user