aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
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 {