mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-29 05:41:52 +02:00
feat: neovim - add orgmode
This commit is contained in:
@@ -128,7 +128,7 @@ return {
|
||||
build = "cargo build --release",
|
||||
ft = { "scm", "scheme" },
|
||||
},
|
||||
{ "Olical/nfnl", ft = "fennel" },
|
||||
{ "Olical/nfnl", ft = "fennel" },
|
||||
{
|
||||
"Olical/conjure",
|
||||
ft = { "clojure", "fennel", "python", "scheme" }, -- etc
|
||||
@@ -160,6 +160,32 @@ return {
|
||||
vim.g["conjure#debug"] = true
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-orgmode/orgmode",
|
||||
dependencies = {
|
||||
{ "nvim-treesitter/nvim-treesitter", lazy = true },
|
||||
},
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
-- Load treesitter grammar for org
|
||||
require("orgmode").setup_ts_grammar()
|
||||
|
||||
-- Setup treesitter
|
||||
require("nvim-treesitter.configs").setup({
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = { "org" },
|
||||
},
|
||||
ensure_installed = { "org" },
|
||||
})
|
||||
|
||||
-- Setup orgmode
|
||||
require("orgmode").setup({
|
||||
org_agenda_files = "~/org/**/*",
|
||||
org_default_notes_file = "~/org/refile.org",
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
||||
-- Lua implementation of CamelCaseMotion, with extra consideration of punctuation.
|
||||
{ import = "astrocommunity.motion.nvim-spider" },
|
||||
|
||||
Reference in New Issue
Block a user