mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
deploy: ab9a7c1600
This commit is contained in:
parent
fac7bf25d7
commit
9e17a8425a
2 changed files with 55 additions and 11 deletions
18
index.xhtml
18
index.xhtml
File diff suppressed because one or more lines are too long
48
options.html
48
options.html
|
@ -7846,10 +7846,10 @@ boolean</p>
|
||||||
<p>An attribute set containing global variable values
|
<p>An attribute set containing global variable values
|
||||||
for storing vim variables as early as possible. If
|
for storing vim variables as early as possible. If
|
||||||
populated, this option will set vim variables in the
|
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
|
built luaConfigRC as the first item.</p><div class="note"><h3 class="title">Note</h3><p><code class="literal">{foo = "bar";}</code> 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
|
the type of <code class="literal">bar</code> in the resulting Lua value will be
|
||||||
infered from the type of the value in the <code class="literal">{name = value}</code>
|
inferred from the type of the value in the <code class="literal">{name = value;}</code>
|
||||||
pair.</p>
|
pair passed to the option.</p></div>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Type:</em></span>
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
attribute set</p>
|
attribute set</p>
|
||||||
|
@ -7857,6 +7857,11 @@ attribute set</p>
|
||||||
<p><span class="emphasis"><em>Default:</em></span>
|
<p><span class="emphasis"><em>Default:</em></span>
|
||||||
<code class="literal">{ }</code></p>
|
<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>
|
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||||
<table border="0" summary="Simple list" class="simplelist">
|
<table border="0" summary="Simple list" class="simplelist">
|
||||||
<tr><td>
|
<tr><td>
|
||||||
|
@ -19015,6 +19020,41 @@ list of (null or package or one of “alpha-nvim”, “bufdelete-nvim”, “ca
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</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 = "bar";}</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">
|
||||||
|
<nvf/modules/wrapper/rc/options.nix>
|
||||||
|
</a></code>
|
||||||
|
</td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
<dt>
|
<dt>
|
||||||
<span class="term">
|
<span class="term">
|
||||||
<a id="opt-vim.pluginRC"></a><a class="term" href="options.html#opt-vim.pluginRC"><code class="option">vim.pluginRC</code>
|
<a id="opt-vim.pluginRC"></a><a class="term" href="options.html#opt-vim.pluginRC"><code class="option">vim.pluginRC</code>
|
||||||
|
|
Loading…
Reference in a new issue