my demo first config lua

This commit is contained in:
2023-12-13 00:27:19 +03:00
commit 61e95391fb
268 changed files with 12847 additions and 0 deletions

17
lua/plugins/orgmode.lua Normal file
View File

@@ -0,0 +1,17 @@
return {
"nvim-orgmode/orgmode",
enabled = false,
keys = {
{ "<Leader>oa" },
{ "<Leader>oc" },
},
ft = { "org" },
config = function()
require("orgmode").setup_ts_grammar()
require("orgmode").setup {
org_agenda_files = { "~/my-orgs/**/*" },
org_default_notes_file = "~/my-orgs/refile.org",
}
require("cmp").setup { sources = { { name = "orgmode" } } }
end,
}