mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 10:59:49 +01:00
docs: fix build failures due to literalMD
This commit is contained in:
parent
f17cf118a6
commit
0388898648
1 changed files with 10 additions and 5 deletions
|
@ -229,7 +229,9 @@ in {
|
||||||
if [vim.enableLuaLoader](#opt-vim.enableLuaLoader) is set to true.
|
if [vim.enableLuaLoader](#opt-vim.enableLuaLoader) is set to true.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
description = literalMD ''
|
example = literalExpression ''"$${builtins.readFile ./my-lua-config-pre.lua}"'';
|
||||||
|
|
||||||
|
description = ''
|
||||||
Verbatim lua code that will be inserted **before**
|
Verbatim lua code that will be inserted **before**
|
||||||
the result of `luaConfigRc` DAG has been resolved.
|
the result of `luaConfigRc` DAG has been resolved.
|
||||||
|
|
||||||
|
@ -238,9 +240,11 @@ in {
|
||||||
of lua configs after the DAG result.
|
of lua configs after the DAG result.
|
||||||
|
|
||||||
::: {.warning}
|
::: {.warning}
|
||||||
You do not want to override this option. It is used
|
You do not want to override this option with mkForce
|
||||||
internally to set certain options as early as possible
|
It is used internally to set certain options as early
|
||||||
and should be avoided unless you know what you're doing.
|
as possible and should be avoided unless you know what
|
||||||
|
you're doing. Passing a string to this option will
|
||||||
|
merge it with the default contents.
|
||||||
:::
|
:::
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -269,8 +273,9 @@ in {
|
||||||
luaConfigPost = mkOption {
|
luaConfigPost = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
default = "";
|
default = "";
|
||||||
|
example = literalExpression ''"$${builtins.readFile ./my-lua-config-post.lua}"'';
|
||||||
description = ''
|
description = ''
|
||||||
Verbatim lua code that will be inserted after
|
Verbatim lua code that will be inserted **after**
|
||||||
the result of the `luaConfigRc` DAG has been resolved
|
the result of the `luaConfigRc` DAG has been resolved
|
||||||
|
|
||||||
This option **does not** take a DAG set, but a string
|
This option **does not** take a DAG set, but a string
|
||||||
|
|
Loading…
Reference in a new issue