mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 22:55:58 +01:00
docs: add missing documentation entry; define renamed options
This commit is contained in:
parent
d2334ca095
commit
054ade0075
2 changed files with 8 additions and 4 deletions
|
@ -22,6 +22,8 @@ Release notes for release 0.6
|
||||||
|
|
||||||
- colorizer.nvim: switched to a maintained fork
|
- colorizer.nvim: switched to a maintained fork
|
||||||
|
|
||||||
|
- Added `markdown-preview.nvim`, moved `glow.nvim` to a brand new `vim.utility.preview` category.
|
||||||
|
|
||||||
[notashelf](https://github.com/notashelf):
|
[notashelf](https://github.com/notashelf):
|
||||||
|
|
||||||
- Finished moving to `nixosOptionsDoc` in the documentation and changelog. We are fully free of asciidoc now
|
- Finished moving to `nixosOptionsDoc` in the documentation and changelog. We are fully free of asciidoc now
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{lib, ...}: let
|
{lib, ...}: let
|
||||||
inherit (lib) mkEnableOption mkMappingOption;
|
inherit (lib) mkEnableOption mkMappingOption mkRenamedOptionModule;
|
||||||
in {
|
in {
|
||||||
|
imports = [
|
||||||
|
(mkRenamedOptionModule ["vim" "languages" "markdown" "glow" "enable"] ["vim" "utility" "preview" "glow" "enable"])
|
||||||
|
];
|
||||||
|
|
||||||
options.vim.utility.preview = {
|
options.vim.utility.preview = {
|
||||||
glow = {
|
glow = {
|
||||||
enable = mkEnableOption "markdown preview in neovim with glow";
|
enable = mkEnableOption "markdown preview in neovim with glow";
|
||||||
mappings = {
|
mappings.openPreview = mkMappingOption "Open preview" "<leader>p";
|
||||||
openPreview = mkMappingOption "Open preview" "<leader>p";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue