mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
docs: remove whitespaces from filepaths if any
This commit is contained in:
parent
8040f8422a
commit
26b202828f
1 changed files with 9 additions and 2 deletions
|
@ -74,7 +74,7 @@ with lib; let
|
|||
if isOpt
|
||||
then opts
|
||||
else filterAttrs (_: component: component.isOption && (isVisible component)) opts;
|
||||
path = concatStringsSep "/" path;
|
||||
path = removeWhitespace (concatStringsSep "/" path);
|
||||
};
|
||||
|
||||
components =
|
||||
|
@ -147,7 +147,14 @@ with lib; let
|
|||
|
||||
components = optionalAttrs (!isOpt) {
|
||||
${name} = recursiveUpdate opts {
|
||||
index.path = removeWhitespace (concatStringsSep "/" ((optional (group != "none") group) ++ [opts.index.path]));
|
||||
index.path =
|
||||
removeWhitespace
|
||||
(
|
||||
concatStringsSep "/"
|
||||
(
|
||||
(optional (group != "none") group) ++ [opts.index.path]
|
||||
)
|
||||
);
|
||||
hasComponents = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue