mirror of
https://github.com/tomru/nvim.git
synced 2026-03-03 14:37:15 +01:00
add orgmode
This commit is contained in:
19
lua/plugins/orgmode.lua
Normal file
19
lua/plugins/orgmode.lua
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
return {
|
||||||
|
'nvim-orgmode/orgmode',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
ft = { 'org' },
|
||||||
|
config = function()
|
||||||
|
-- Setup orgmode
|
||||||
|
require('orgmode').setup {
|
||||||
|
org_agenda_files = '~/org/**/*',
|
||||||
|
org_default_notes_file = '~/org/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,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user