From 35ba4e74d7ad7f3475a1484f3b993ff7a3336aef Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Wed, 10 Jan 2024 22:32:13 +0100 Subject: [PATCH] fix(stylua): add --respect-ignores flag --- flake.lock | 6 +++--- modules/hooks.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index e82100a5..71db85c3 100644 --- a/flake.lock +++ b/flake.lock @@ -56,11 +56,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1689261696, - "narHash": "sha256-LzfUtFs9MQRvIoQ3MfgSuipBVMXslMPH/vZ+nM40LkA=", + "lastModified": 1704842529, + "narHash": "sha256-OTeQA+F8d/Evad33JMfuXC89VMetQbsU4qcaePchGr4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "df1eee2aa65052a18121ed4971081576b25d6b5c", + "rev": "eabe8d3eface69f5bb16c18f8662a702f50c20d5", "type": "github" }, "original": { diff --git a/modules/hooks.nix b/modules/hooks.nix index ef53d16d..4de5d120 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -2065,7 +2065,7 @@ in name = "stylua"; description = "An Opinionated Lua Code Formatter."; types = [ "file" "lua" ]; - entry = "${tools.stylua}/bin/stylua"; + entry = "${tools.stylua}/bin/stylua --respect-ignores"; }; tagref = {