From 65aa7bd88c5f38a53dd88cf7cb2e1a6092731bad Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Sun, 19 Nov 2023 02:17:59 +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..314b5739 100644 --- a/flake.lock +++ b/flake.lock @@ -56,11 +56,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1689261696, - "narHash": "sha256-LzfUtFs9MQRvIoQ3MfgSuipBVMXslMPH/vZ+nM40LkA=", + "lastModified": 1700108881, + "narHash": "sha256-+Lqybl8kj0+nD/IlAWPPG/RDTa47gff9nbei0u7BntE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "df1eee2aa65052a18121ed4971081576b25d6b5c", + "rev": "7414e9ee0b3e9903c24d3379f577a417f0aae5f1", "type": "github" }, "original": { diff --git a/modules/hooks.nix b/modules/hooks.nix index e7bba8ad..bda35bc4 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -1441,7 +1441,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"; }; shfmt = {