diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d7a553..5387bcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,8 @@ The format is based on [Keep a Changelog]. calling major-mode. Also includes setting for `indent-tabs-mode` ([#286]). * [Formatter scripts](scripts/formatters) will now work on Windows if Emacs can find the executable defined in the shebang. +* `nix-ts-mode` buffers are now formatted with nixfmt like `nix-mode` + buffers are. ### Internal * Major internal refactoring has occurred to make it possible to write diff --git a/apheleia-formatters.el b/apheleia-formatters.el index 6257e09..736c481 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -343,6 +343,7 @@ rather than using this system." ;; try imposing a standard by default (nasm-mode . asmfmt) (nix-mode . nixfmt) + (nix-ts-mode . nixfmt) (perl-mode . perltidy) (php-mode . phpcs) (purescript-mode . purs-tidy)