mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: enabled stylua
This commit is contained in:
parent
fefb5a4302
commit
9bd4e7c368
2 changed files with 8 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ inputs, ... }:
|
||||
{ inputs, flakeRoot, ... }:
|
||||
{
|
||||
imports = [ inputs.pre-commit-hooks.flakeModule ];
|
||||
|
||||
perSystem =
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
|
|
@ -14,8 +15,10 @@
|
|||
deadnix.enable = true;
|
||||
|
||||
# lua
|
||||
# FIXME: noisy
|
||||
# stylua.enable = true;
|
||||
stylua.enable = true;
|
||||
stylua.entry = "${config.pre-commit.settings.hooks.stylua.package}/bin/stylua --config-path ${
|
||||
flakeRoot + "/.config/nvim/stylua.toml"
|
||||
} --respect-ignores";
|
||||
|
||||
# markdown
|
||||
markdownlint.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue