various: address diniamo's review comments

This commit is contained in:
raf 2025-01-10 11:20:54 +03:00
commit 3825793549
No known key found for this signature in database
GPG key ID: EED98D11B85A2819
4 changed files with 19 additions and 15 deletions

View file

@ -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