mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Apply suggestions from code review
Co-authored-by: Oleksii Filonenko <brightone@protonmail.com>
This commit is contained in:
@ -14,9 +14,9 @@
|
||||
- [[#troubleshooting][Troubleshooting]]
|
||||
|
||||
* Description
|
||||
Adds many tools for [[https://nixos.org/][nix(os)]] users in nice package for Doom users.
|
||||
Adds many tools for [[https://nixos.org/][Nix(OS)]] users in nice package for Doom users.
|
||||
|
||||
+ Syntax highlight
|
||||
+ Syntax highlighting
|
||||
+ Completion through ~company~ / ~helm~
|
||||
+ Nix option lookup
|
||||
+ Formatting (~nixfmt~)
|
||||
@ -35,10 +35,10 @@ This module provides no flags.
|
||||
|
||||
* Features
|
||||
+ ~nixfmt~ is required to use formatting
|
||||
+ If you have nix(os) installed it can be installed trough nix configuration ~enviroment.systemPackages = with pkgs; [ nixfmt ];~ (recommended)
|
||||
+ Or trough nix-env ~nix-env -iA nixpkgs.nixfmt~
|
||||
+ Or trough nix-shell ~nix-shell -f https://github.com/serokell/nixfmt/archive/master.tar.gz -i~
|
||||
+ ~:editor format~ ~format-all~ also supports ~nixfmt~ so you can use that also to format nix code, default bindings ~SPC c f~ in evil.
|
||||
+ If you have Nix(OS) installed it can be installed through Nix configuration ~environment.systemPackages = with pkgs; [ nixfmt ];~ (recommended)
|
||||
+ Or through nix-env ~nix-env -iA nixpkgs.nixfmt~
|
||||
+ Or through nix-shell ~nix-shell -f https://github.com/serokell/nixfmt/archive/master.tar.gz -i~
|
||||
+ ~:editor format~ ~format-all~ also supports ~nixfmt~ so you can use that also to format Nix code, default binding is ~SPC c f~ in evil.
|
||||
|
||||
* Configuration
|
||||
| Binding | Description |
|
||||
@ -52,4 +52,4 @@ This module provides no flags.
|
||||
| ~<localleader> u~ | ~nix-unpack~ |
|
||||
|
||||
* Troubleshooting
|
||||
+ There isn't any known problems.
|
||||
+ There aren't any known problems.
|
||||
|
Reference in New Issue
Block a user