39 lines
899 B
Lua
39 lines
899 B
Lua
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||
|
require("config.lazy")
|
||
|
require("orgmode").setup_ts_grammar()
|
||
|
vim.cmd("language en_US.utf8")
|
||
|
|
||
|
require("nvim-treesitter.configs").setup({
|
||
|
highlight = {
|
||
|
enable = true,
|
||
|
additional_vim_regex_highlighting = { "org" },
|
||
|
},
|
||
|
ensure_installed = {},
|
||
|
sync_install = true,
|
||
|
auto_install = true,
|
||
|
ignore_install = {},
|
||
|
modules = {},
|
||
|
})
|
||
|
|
||
|
require("orgmode").setup({
|
||
|
org_agenda_files = { "~/org/*" },
|
||
|
org_default_notes_file = "~/org/notes.org",
|
||
|
org_capture_templates = {
|
||
|
t = {
|
||
|
description = "Tasks",
|
||
|
template = "* TODO %?\n %u",
|
||
|
target = "~/org/notes.org",
|
||
|
},
|
||
|
d = {
|
||
|
description = "Devvul",
|
||
|
template = "* TODO %?\n %u",
|
||
|
target = "~/org/devvul.org",
|
||
|
},
|
||
|
u = {
|
||
|
description = "uplateAgency",
|
||
|
template = "* TODO %?\n %u",
|
||
|
target = "~/org/uplateAgency.org",
|
||
|
},
|
||
|
},
|
||
|
})
|