We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are there any plans to make an indent function based on nixpkgs-fmt or at least one that agrees with nixpkgs-fmt?
The text was updated successfully, but these errors were encountered:
You can easily just do what I do:
(customize-set-variable 'nix-nixfmt-bin "nixpkgs-fmt")
Sorry, something went wrong.
AFAICT, the only indentation-related change needed is to align expressions with in. I did this by adding the following to nix-mode-hook:
in
nix-mode-hook
(smie-config-local '((0 :after "in" nil)))
Do we want to standardize on the nixpkgs-fmt style and use this as the default in nix-smie-rules? It would be a quick PR.
nixpkgs-fmt
nix-smie-rules
No branches or pull requests
Are there any plans to make an indent function based on nixpkgs-fmt or at least one that agrees with nixpkgs-fmt?
The text was updated successfully, but these errors were encountered: