kakoune: use rfc-style nixfmt

This commit is contained in:
Leonardo Eugênio 2024-05-30 16:54:23 -03:00
parent 4fdbf6f821
commit 8376baaf34
3 changed files with 3 additions and 3 deletions

View file

@ -128,7 +128,7 @@
rust-analyzer # rust analyzer
blade-formatter
nixpkgs-fmt
nixfmt-rfc-style
];
fonts.fontconfig.enable = true;

View file

@ -12,7 +12,7 @@ hook global WinSetOption filetype=c %{
}
hook global WinSetOption filetype=nix %{
set buffer formatcmd 'nixpkgs-fmt'
set buffer formatcmd 'nixfmt'
}
hook global BufCreate .*\.html %{

View file

@ -74,7 +74,7 @@ filetypes = ["nix"]
command = "nil"
roots = ["flake.nix", "shell.nix", ".git"]
[language_server.nil.settings.nil]
formatting.command = [ "nixpkgs-fmt" ]
formatting.command = [ "nixfmt" ]
[language_server.intelephense]
filetypes = ["php"]