mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
various: address diniamo's review comments
This commit is contained in:
parent
5250f8e771
commit
3825793549
4 changed files with 19 additions and 15 deletions
|
@ -238,13 +238,10 @@ in {
|
|||
};
|
||||
|
||||
signcolumn = mkOption {
|
||||
type = either str bool;
|
||||
default = true;
|
||||
apply = x:
|
||||
if isBool x
|
||||
then toVimBool x # convert to a yes/no str
|
||||
else x;
|
||||
description = "Show the sign column";
|
||||
type = str;
|
||||
default = "yes";
|
||||
example = "no";
|
||||
description = "Whether to show the sign column";
|
||||
};
|
||||
|
||||
tabstop = mkOption {
|
||||
|
@ -313,7 +310,7 @@ in {
|
|||
if [](#opt-vim.enableLuaLoader) is set to true.
|
||||
'';
|
||||
|
||||
example = literalExpression ''''${builtins.readFile ./my-lua-config-pre.lua}'';
|
||||
example = literalExpression "\${builtins.readFile ./my-lua-config-pre.lua}";
|
||||
|
||||
description = ''
|
||||
Verbatim lua code that will be inserted **before**
|
||||
|
@ -357,7 +354,7 @@ in {
|
|||
luaConfigPost = mkOption {
|
||||
type = str;
|
||||
default = "";
|
||||
example = literalExpression ''"$${builtins.readFile ./my-lua-config-post.lua}"'';
|
||||
example = literalExpression "\${builtins.readFile ./my-lua-config-post.lua}";
|
||||
description = ''
|
||||
Verbatim lua code that will be inserted **after**
|
||||
the result of the `luaConfigRc` DAG has been resolved
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue