yazi: Ensure plugin suffix .yazi
- Append suffix `.yazi` to symlink targets of yazi plugins, if needed - Improve some docs, especially links to upstream docs. - Update tests to make use of this feature.
This commit is contained in:
parent
8be82697f7
commit
5ccc3d6739
2 changed files with 27 additions and 9 deletions
|
|
@ -70,7 +70,10 @@
|
|||
};
|
||||
};
|
||||
initLua = ./init.lua;
|
||||
plugins = { "test.yazi" = ./plugin; };
|
||||
plugins = {
|
||||
"test.yazi" = ./plugin;
|
||||
"anotherTest" = ./plugin;
|
||||
};
|
||||
flavors = { "test.yazi" = ./flavor; };
|
||||
};
|
||||
|
||||
|
|
@ -87,6 +90,8 @@
|
|||
${./init.lua}
|
||||
assertFileContent home-files/.config/yazi/plugins/test.yazi/init.lua \
|
||||
${./plugin/init.lua}
|
||||
assertFileContent home-files/.config/yazi/plugins/anotherTest.yazi/init.lua \
|
||||
${./plugin/init.lua}
|
||||
assertFileContent home-files/.config/yazi/flavors/test.yazi/init.lua \
|
||||
${./flavor/init.lua}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue