mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
feat: neovim - add orgmode
This commit is contained in:
@@ -128,7 +128,7 @@ return {
|
|||||||
build = "cargo build --release",
|
build = "cargo build --release",
|
||||||
ft = { "scm", "scheme" },
|
ft = { "scm", "scheme" },
|
||||||
},
|
},
|
||||||
{ "Olical/nfnl", ft = "fennel" },
|
{ "Olical/nfnl", ft = "fennel" },
|
||||||
{
|
{
|
||||||
"Olical/conjure",
|
"Olical/conjure",
|
||||||
ft = { "clojure", "fennel", "python", "scheme" }, -- etc
|
ft = { "clojure", "fennel", "python", "scheme" }, -- etc
|
||||||
@@ -160,6 +160,32 @@ return {
|
|||||||
vim.g["conjure#debug"] = true
|
vim.g["conjure#debug"] = true
|
||||||
end,
|
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.
|
-- Lua implementation of CamelCaseMotion, with extra consideration of punctuation.
|
||||||
{ import = "astrocommunity.motion.nvim-spider" },
|
{ import = "astrocommunity.motion.nvim-spider" },
|
||||||
|
|||||||
Reference in New Issue
Block a user