Apply suggestions from code review

Co-authored-by: Oleksii Filonenko <brightone@protonmail.com>
This commit is contained in:
Jarmo Riikonen 2020-05-06 19:27:10 +03:00 committed by GitHub
parent 75a9bcf56b
commit 9219d25746
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.