diff --git a/options.xhtml b/options.xhtml index 89b21153b..65eaadfb0 100644 --- a/options.xhtml +++ b/options.xhtml @@ -48666,15 +48666,26 @@ strings concatenated with “\n”

-

Plugins to be added to your configuration file.

Must be a package, an absolute plugin path, or string to be recognized -by xplr. Paths will be relative to -$XDG_CONFIG_HOME/xplr/init.lua unless they are absolute.

+

An attribute set of plugin paths to be added to the [package.path]https://www.lua.org/manual/5.4/manual.html#pdf-package.path of the ~/config/xplr/init.lua configuration file.

Must be a package or string representing the plugin directory’s path. +If the path string is not absolute, it will be relative to $XDG_CONFIG_HOME/xplr/init.lua.

Type: -null or (list of (package or string))

+null or (attribute set of (package or string))

Default: -[]

+{ }

+ +

Example:

{
+  wl-clipboard = fetchFromGitHub {
+    owner = "sayanarijit";
+    repo = "wl-clipboard.xplr";
+    rev = "a3ffc87460c5c7f560bffea689487ae14b36d9c3";
+    hash = "sha256-I4rh5Zks9hiXozBiPDuRdHwW5I7ppzEpQNtirY0Lcks=";
+  }
+  local-plugin = "/home/user/.config/plugins/local-plugin";
+};
+
+

Declared by: