From 068e0a2e4087d75ac63d0c223dacbbb3b728a2a8 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Mon, 13 Jul 2026 09:25:19 +0100 Subject: [PATCH] Added fennel, hotpot, and org mode --- init.lua | 14 ++++++++++++++ lua/config/keys.lua | 1 + lua/plugins/coding.lua | 2 ++ lua/plugins/lang/fennel.lua | 14 ++++++++++++++ lua/plugins/lang/org.lua | 18 ++++++++++++++++++ 5 files changed, 49 insertions(+) create mode 100644 lua/plugins/lang/fennel.lua create mode 100644 lua/plugins/lang/org.lua diff --git a/init.lua b/init.lua index c393c17..6862c78 100644 --- a/init.lua +++ b/init.lua @@ -17,8 +17,22 @@ if not vim.loop.fs_stat(lazypath) then }) end +local hotpotpath = vim.fn.stdpath("data") .. "/lazy/hotpot.nvim" +if not vim.loop.fs_stat(hotpotpath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/rktjmp/hotpot.nvim.git", + hotpotpath, + }) +end + ---@diagnostic disable-next-line: undefined-field +vim.opt.rtp:prepend(hotpotpath) vim.opt.rtp:prepend(lazypath) +require("hotpot") + require("lazy").setup("plugins") require("nvim-web-devicons").refresh() -- This fixes screwiness with the devicon colors diff --git a/lua/config/keys.lua b/lua/config/keys.lua index 76ebaee..b9b4b88 100644 --- a/lua/config/keys.lua +++ b/lua/config/keys.lua @@ -21,6 +21,7 @@ return { { "o", group = "[O]verseer", icon = "󰈈" }, { "h", group = "[H]arpoon", icon = "󱡀" }, { "x", group = "[X] Trouble", icon = "󰋔" }, + { "a", group = "[A]genda / [O]rg Mode", icon = "󰕪" }, }, commands = { { "f", group = "[F]ormat", icon = "󰗈" }, diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index b699081..cba5ed6 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -81,11 +81,13 @@ return { "bash", "c", "elixir", + "fennel", "html", "lua", "markdown", "nix", "nu", + "org", "python", "rust", "scheme", diff --git a/lua/plugins/lang/fennel.lua b/lua/plugins/lang/fennel.lua new file mode 100644 index 0000000..c445125 --- /dev/null +++ b/lua/plugins/lang/fennel.lua @@ -0,0 +1,14 @@ +return { + { + "rktjmp/hotpot.nvim", + lazy = false, + }, + { + "Olical/conjure", + ft = { "fennel", "clojure", "scheme", "lisp" }, + config = function() + -- Conjure configuration + -- By default, Conjure maps local leader commands (e.g. ee to evaluate form). + end, + }, +} diff --git a/lua/plugins/lang/org.lua b/lua/plugins/lang/org.lua new file mode 100644 index 0000000..7e178ad --- /dev/null +++ b/lua/plugins/lang/org.lua @@ -0,0 +1,18 @@ +return { + { + "nvim-orgmode/orgmode", + event = "VeryLazy", + config = function() + -- Setup orgmode + require("orgmode").setup({ + org_agenda_files = "~/orgfiles/**/*", + org_default_notes_file = "~/orgfiles/refile.org", + mappings = { + prefix = "a", + }, + }) + -- Enable org LSP + vim.lsp.enable("org") + end, + }, +}