From c9f6682a2b1cd2035d160cb20673c127e6194642 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Mon, 2 Oct 2023 15:58:59 -0300 Subject: [PATCH] helix: configure php formatter --- user/helix.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/user/helix.nix b/user/helix.nix index c826d00..ad02d0d 100644 --- a/user/helix.nix +++ b/user/helix.nix @@ -77,8 +77,12 @@ in keys.insert = { "A-k" = "normal_mode"; }; }; languages.language = [ - { auto-format = true; formatter = { command = "nixpkgs-fmt"; }; name = "nix"; } - { auto-format = true; name = "rust"; } + { name = "nix"; auto-format = true; formatter = { command = "nixpkgs-fmt"; }; } + { name = "rust"; auto-format = true; } + { + name = "php"; + config.intelephense.format.braces = "k&r"; + } ]; themes = {