Automated deployment: Wed Jan 19 11:01:44 UTC 2022 ef0d37e9f6

gh-pages
sayanarijit 2 years ago
parent 989e5be475
commit bc987d5b6b

@ -146,7 +146,12 @@ following procedure:</p>
<ul>
<li>
<p>Add the following line in <code>~/.config/xplr/init.lua</code></p>
<pre><code class="language-lua">package.path = os.getenv(&quot;HOME&quot;) .. '/.config/xplr/plugins/?/src/init.lua'
<pre><code class="language-lua">local home = os.getenv(&quot;HOME&quot;)
package.path = home
.. &quot;/.config/xplr/plugins/?/src/init.lua;&quot;
.. home
.. &quot;/.config/xplr/plugins/?.lua;&quot;
.. package.path
</code></pre>
</li>
<li>

@ -2823,7 +2823,12 @@ following procedure:</p>
<ul>
<li>
<p>Add the following line in <code>~/.config/xplr/init.lua</code></p>
<pre><code class="language-lua">package.path = os.getenv(&quot;HOME&quot;) .. '/.config/xplr/plugins/?/src/init.lua'
<pre><code class="language-lua">local home = os.getenv(&quot;HOME&quot;)
package.path = home
.. &quot;/.config/xplr/plugins/?/src/init.lua;&quot;
.. home
.. &quot;/.config/xplr/plugins/?.lua;&quot;
.. package.path
</code></pre>
</li>
<li>
@ -2852,14 +2857,13 @@ integers. They will be plugged using the <code>require()</code> function in Lua.
<p>A minimal plugin should confirm to the following structure:</p>
<pre><code>plugin-name
├── README.md
└── src
└── init.lua
└── init.lua
</code></pre>
<p>You can also use
<a href="https://github.com/sayanarijit/plugin-template1.xplr">this template</a>.</p>
<h3 id="readmemd"><a class="header" href="#readmemd">README.md</a></h3>
<p>This is where you document what the plugin does, how to use it, etc.</p>
<h3 id="srcinitlua"><a class="header" href="#srcinitlua">src/init.lua</a></h3>
<h3 id="initlua"><a class="header" href="#initlua">init.lua</a></h3>
<p>This file is executed to load the plugin. It should expose a <code>setup()</code>
function, which will be used by the users to setup the plugin.</p>
<p>Example:</p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -150,14 +150,13 @@ integers. They will be plugged using the <code>require()</code> function in Lua.
<p>A minimal plugin should confirm to the following structure:</p>
<pre><code>plugin-name
├── README.md
└── src
└── init.lua
└── init.lua
</code></pre>
<p>You can also use
<a href="https://github.com/sayanarijit/plugin-template1.xplr">this template</a>.</p>
<h3 id="readmemd"><a class="header" href="#readmemd">README.md</a></h3>
<p>This is where you document what the plugin does, how to use it, etc.</p>
<h3 id="srcinitlua"><a class="header" href="#srcinitlua">src/init.lua</a></h3>
<h3 id="initlua"><a class="header" href="#initlua">init.lua</a></h3>
<p>This file is executed to load the plugin. It should expose a <code>setup()</code>
function, which will be used by the users to setup the plugin.</p>
<p>Example:</p>

Loading…
Cancel
Save