This commit is contained in:
NotAShelf 2024-09-28 18:29:11 +00:00
parent fac7bf25d7
commit 9e17a8425a
2 changed files with 55 additions and 11 deletions

File diff suppressed because one or more lines are too long

View file

@ -7846,10 +7846,10 @@ boolean</p>
<p>An attribute set containing global variable values
for storing vim variables as early as possible. If
populated, this option will set vim variables in the
built luaConfigRC as the first item.</p><p>E.g. {foo = “bar”} will set <code class="literal">vim.g.foo</code> to “bar” where
the type of <code class="literal">bar</code> in the resulting vimscript will be
infered from the type of the value in the <code class="literal">{name = value}</code>
pair.</p>
built luaConfigRC as the first item.</p><div class="note"><h3 class="title">Note</h3><p><code class="literal">{foo = &quot;bar&quot;;}</code> will set <code class="literal">vim.g.foo</code> to “bar”, where
the type of <code class="literal">bar</code> in the resulting Lua value will be
inferred from the type of the value in the <code class="literal">{name = value;}</code>
pair passed to the option.</p></div>
<p><span class="emphasis"><em>Type:</em></span>
attribute set</p>
@ -7857,6 +7857,11 @@ attribute set</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">{ }</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
some_variable = 42;
}
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
@ -19015,6 +19020,41 @@ list of (null or package or one of “alpha-nvim”, “bufdelete-nvim”, “ca
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-vim.options"></a><a class="term" href="options.html#opt-vim.options"><code class="option">vim.options</code>
</a>
</span>
</dt>
<dd>
<p>An attribute set containing vim options to be set
as early as possible. If populated, this option will
set vim options in the built luaConfigRC after <code class="literal">basic</code>
and before <code class="literal">pluginConfigs</code> DAG entries.</p><div class="note"><h3 class="title">Note</h3><p><code class="literal">{foo = &quot;bar&quot;;}</code> will set <code class="literal">vim.o.foo</code> to “bar”, where
the type of <code class="literal">bar</code> in the resulting Lua value will be
inferred from the type of the value in the<code class="literal">{name = value;}</code>
pair passed to the option.</p></div>
<p><span class="emphasis"><em>Type:</em></span>
attribute set</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">{ }</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
visualbell = true;
}
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
<code class="filename"><a class="filename" href="https://github.com/NotAShelf/nvf/blob/main/modules/wrapper/rc/options.nix" target="_top">
&lt;nvf/modules/wrapper/rc/options.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-vim.pluginRC"></a><a class="term" href="options.html#opt-vim.pluginRC"><code class="option">vim.pluginRC</code>