2 files changed,
29 insertions(+),
0 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2024-12-13 20:37:43 +0200
Parent:
6fe8cd4
jump to
| A | lua/plugins/orgmode.lua |
| M | lua/plugins/treesitter.lua |
A
lua/plugins/orgmode.lua
@@ -0,0 +1,28 @@
+local prefix = "<C-c>" + +---@type LazySpec +return { + "nvim-orgmode/orgmode", + ft = { "org" }, + keys = { prefix }, + dependencies = { + { "akinsho/org-bullets.nvim", config = true }, + { + "nvim-orgmode/telescope-orgmode.nvim", + ft = { "org" }, + dependencies = { "telescope.nvim" }, + config = function() + require("telescope").load_extension "orgmode" + end, + }, + }, + ---@module "orgmode" + ---@type OrgDefaultConfig + opts = { + org_default_notes_file = "~/org/refile.org", + org_agenda_files = "~/org/**/*", + mappings = { + prefix = prefix, + }, + }, +}
M
lua/plugins/treesitter.lua
@@ -21,6 +21,7 @@ "markdown_inline",
"vim", "query", }, + ignore_install = { "org" }, indent = { enable = true, disable = { "python" } }, highlight = { enable = true, additional_vim_regex_highlighting = false }, autopairs = { enable = true },