aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-24 04:19:59 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-24 04:19:59 +0530
commit3a6e45ad18c519b21c9cadb2d374148647886b05 (patch)
treec8ad94d5be285a770a319e6a6a6fdda6021b652a /flake.nix
parent574b4e4651495ed3fb14ef53a00374782d45b378 (diff)
downloadhome-manager-config-3a6e45ad18c519b21c9cadb2d374148647886b05.tar.gz
home-manager-config-3a6e45ad18c519b21c9cadb2d374148647886b05.zip
refactor: ran newly configured formatter for the whole project
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
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 {