helix: configure php formatter

This commit is contained in:
lelgenio 2023-10-02 15:58:59 -03:00
parent 3c2c25d388
commit c9f6682a2b

View file

@ -77,8 +77,12 @@ in
keys.insert = { "A-k" = "normal_mode"; }; keys.insert = { "A-k" = "normal_mode"; };
}; };
languages.language = [ languages.language = [
{ auto-format = true; formatter = { command = "nixpkgs-fmt"; }; name = "nix"; } { name = "nix"; auto-format = true; formatter = { command = "nixpkgs-fmt"; }; }
{ auto-format = true; name = "rust"; } { name = "rust"; auto-format = true; }
{
name = "php";
config.intelephense.format.braces = "k&r";
}
]; ];
themes = { themes = {