nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit 0dde72c6efa44d520cb3f1264860972864e0ab79
parent a1f90ce1213890ad92650f22bebb4f470afae384
Author: mtmn <miro@haravara.org>
Date:   Sat, 25 Apr 2026 15:49:40 +0200

chore: update corpus, clean lua funcs, mtmn.name

Diffstat:
Mflake.lock | 6+++---
Mmodules/mixins/dotfiles/config/nvim/fnl/config/lsp.fnl | 10++++------
Msecrets/corpus.age | 0
3 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -30,11 +30,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1777059508, - "narHash": "sha256-gBWDvJevRIMGDmtmT0v7E7zIRhsnyxynyUH4pkgPYN8=", + "lastModified": 1777125972, + "narHash": "sha256-fjpbXeeWYfK4uJcoDm5CZdnL1HEJzVF4q4j+z+sHYuU=", "owner": "mtmn", "repo": "corpus", - "rev": "d859adc7685ded7f99cd7767bd23c9dff876992c", + "rev": "2a38200dabd65ecd4af838f699bc9a99346a5b82", "type": "github" }, "original": { diff --git a/modules/mixins/dotfiles/config/nvim/fnl/config/lsp.fnl b/modules/mixins/dotfiles/config/nvim/fnl/config/lsp.fnl @@ -1,6 +1,3 @@ -(local {: map} (require :std.functional)) -(local tbl (require :std.table)) - (local {:nvim_create_augroup create-augroup :nvim_create_autocmd create-autocmd :nvim_clear_autocmds clear-autocmds @@ -12,15 +9,16 @@ (not (not (. tbl 1)))) (fn map-vals [func tbl] - (map #(func $2) tbl)) + (icollect [_ v (ipairs tbl)] (func v))) (fn create-auto-format-autocmd [extra-opts] (let [extra-opts (or extra-opts {}) all-extra-opts (if (is-array extra-opts) extra-opts [extra-opts]) - all-opts (map-vals #(tbl.merge {:formatting_options {:timeout_ms 5000}} - $1) + all-opts (map-vals #(vim.tbl_extend :force + {:formatting_options {:timeout_ms 5000}} + $1) all-extra-opts) auto-format-callback #(each [_ opts (ipairs all-opts)] (vim.lsp.buf.format opts))] diff --git a/secrets/corpus.age b/secrets/corpus.age Binary files differ.