doomemacs/modules/lang/nix
Henrik Lissner ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
..
autoload.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
config.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
doctor.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
packages.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:lang nix

Description   unfold

This module adds support for the Nix language to Doom Emacs, along with tools for managing Nix(OS).

Includes:

  • Syntax highlighting
  • Completion through company and/or helm
  • Nix option lookup
  • Formatting (nixfmt)

Module flags

+tree-sitter
Leverages tree-sitter for better syntax highlighting and structural text editing. Requires :tools tree-sitter.

Hacks

No hacks documented for this module.

TODO Changelog

This module does not have a changelog yet.

TODO Installation

Enable this module in your doom! block.

This module requires:

  • The Nix package manager, for a variety of its features (besides syntax highlighting).
  • nixfmt, for automatic formatting (requires :editor format).
  • MacOS: TODO
  • Arch Linux: TODO
  • NixOS: in pkgs.nixfmt

TODO Usage

🔨 This module's usage documentation is incomplete. Complete it?

Keybindings

Binding Description
<localleader> b nix-build
<localleader> f nix-update-fetch
<localleader> o +nix/lookup-option
<localleader> p nix-format-buffer
<localleader> r nix-repl-show
<localleader> s nix-repl-shell
<localleader> u nix-unpack

TODO Configuration

🔨 This module has no configuration documentation yet. Write some?

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

🔨 This module has no appendix yet. Write one?