diff options
| author | outremonde <outremonde@vivaldi.net> | 2025-06-30 17:13:14 -0400 |
|---|---|---|
| committer | outremonde <outremonde@vivaldi.net> | 2025-07-01 11:57:11 -0400 |
| commit | 04b67674341ca7fa846eb9638fa0890e898da41d (patch) | |
| tree | 61f52bffac6a7fa221a7aa29f49b07a8f01d0cc8 /pkgs/custom-neovim/config | |
| parent | d9cfc3f622f9ca38f5a0756f758c7f6facb46ff9 (diff) | |
gitignored result
Former-commit-id: e8190c9ca78f9565671352f9d66512f67971c95e
Diffstat (limited to 'pkgs/custom-neovim/config')
| -rw-r--r-- | pkgs/custom-neovim/config/init.fnl | 8 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/init.lua | 23 |
2 files changed, 15 insertions, 16 deletions
diff --git a/pkgs/custom-neovim/config/init.fnl b/pkgs/custom-neovim/config/init.fnl index c097c94..f9a303f 100644 --- a/pkgs/custom-neovim/config/init.fnl +++ b/pkgs/custom-neovim/config/init.fnl @@ -1,7 +1 @@ -;; Import Hibiscus Macros -(import-macros { - : set! - : set+ - : exec!} :hibiscus.vim) - -(exec! [colorscheme rose-pine-main]) +(vim.cmd.colorscheme oxocarbon) diff --git a/pkgs/custom-neovim/config/init.lua b/pkgs/custom-neovim/config/init.lua index a69b7ef..3c9d9fb 100644 --- a/pkgs/custom-neovim/config/init.lua +++ b/pkgs/custom-neovim/config/init.lua @@ -1,9 +1,14 @@ -require 'tangerine'.setup { - vimrc = "./init.fnl", - source = "./fnl", - target = "./lua", - compiler = { - verbose = false, - hooks = { "oninit" } - }, -} +fennel = require "fennel" +configdir = debug.getinfo(1).source:sub(2, string.len('/init.lua')) + +do + local fnldir = (configdir .. "/fnl") + for _, dir in ipairs({"/?.fnl", "/?/init.fnl"}) do + fennel["path"] = (fnldir .. dir .. ";" .. fennel.path) + fennel["macro-path"] = (fnldir .. dir .. ";" .. fennel["macro-path"]) + end +end + +fennel.install() + +-- vim.cmd.colorscheme("oxocarbon") |
