mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 04:35:08 +02:00
add some docs
This commit is contained in:
parent
0586bed5ad
commit
bfa329a456
2 changed files with 31 additions and 3 deletions
29
doc/plugins.md
Normal file
29
doc/plugins.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# List of plugins for NixVim
|
||||
|
||||
## Colorschemes
|
||||
### Gruvbox
|
||||
|
||||
Just set `enable` to use the colorscheme.
|
||||
|
||||
```nix
|
||||
programs.nixvim.colorscheme.gruvbox.enable = true;
|
||||
```
|
||||
|
||||
## Status lines
|
||||
### Lightline
|
||||
Lightline is a small and customizable status line for vim. It can be enabled
|
||||
with `programs.nixvim.plugins.lightline.enable`, and it will try to use the
|
||||
colorscheme set by the user. If you want to manually override this, set
|
||||
`programs.nixvim.plugins.lightline.colorscheme` to the name of the colorscheme
|
||||
to use.
|
||||
|
||||
```nix
|
||||
programs.nixvim.plugins.lightline = {
|
||||
enable = true; # Enable this plugin
|
||||
|
||||
# This can be set to null to reset. Defaults to global colorscheme
|
||||
colorscheme = "wombat";
|
||||
|
||||
# ...
|
||||
};
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue