dotfiles/config/nvim/init.lua

39 lines
899 B
Lua
Raw Normal View History

2024-03-30 16:15:31 +00:00
-- 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",
},
},
})