From 3a6e45ad18c519b21c9cadb2d374148647886b05 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 24 Sep 2026 04:19:59 +0530 Subject: refactor: ran newly configured formatter for the whole project --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index d2d305d..dc5e81b 100644 --- a/flake.nix +++ b/flake.nix @@ -60,6 +60,13 @@ indent_size = 2; }; }; + settings.formatter.stylua.excludes = [ + # Anonymous function fragments embedded into nixvim options via + # builtins.readFile are not complete Lua chunks, so stylua cannot + # parse them. + "modules/development/nixvim/plugins/gitsigns/on-attach.lua" + "modules/development/nixvim/plugins/lsp/open-diagnostic-float.lua" + ]; }; preCommitCheck = git-hooks.lib.${system}.run { -- cgit v1.2.3