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]] - [[#troubleshooting][Troubleshooting]]
* Description * 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~ + Completion through ~company~ / ~helm~
+ Nix option lookup + Nix option lookup
+ Formatting (~nixfmt~) + Formatting (~nixfmt~)
@ -35,10 +35,10 @@ This module provides no flags.
* Features * Features
+ ~nixfmt~ is required to use formatting + ~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) + If you have Nix(OS) installed it can be installed through Nix configuration ~environment.systemPackages = with pkgs; [ nixfmt ];~ (recommended)
+ Or trough nix-env ~nix-env -iA nixpkgs.nixfmt~ + Or through nix-env ~nix-env -iA nixpkgs.nixfmt~
+ Or trough nix-shell ~nix-shell -f https://github.com/serokell/nixfmt/archive/master.tar.gz -i~ + 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 bindings ~SPC c f~ in evil. + ~: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 * Configuration
| Binding | Description | | Binding | Description |
@ -52,4 +52,4 @@ This module provides no flags.
| ~<localleader> u~ | ~nix-unpack~ | | ~<localleader> u~ | ~nix-unpack~ |
* Troubleshooting * Troubleshooting
+ There isn't any known problems. + There aren't any known problems.