diff --git a/modules/kakoune.nix b/modules/kakoune.nix index 3ed2f42..1ebc20a 100644 --- a/modules/kakoune.nix +++ b/modules/kakoune.nix @@ -145,7 +145,7 @@ in ] ) ++ ( lib.optionals cfg.enableDataSupport [ - { name = "BufSetOption"; option = "filetype=markdown"; commands = "set-option buffer formatcmd ${python3.pkgs.mdformat}/bin/mdformat"; } + { name = "BufSetOption"; option = "filetype=(markdown|html|json|yaml|css|scss|less)"; commands = "set-option buffer formatcmd ${nodePackages.prettier}/bin/prettier"; } ] ); # TODO add more formatters from https://github.com/mawww/kakoune/wiki/Format