mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
deploy: d4b04d7aa0
This commit is contained in:
parent
fa55a48a72
commit
49a8528526
85 changed files with 9 additions and 385989 deletions
18
options.html
18
options.html
|
@ -7112,7 +7112,8 @@ attribute set of ((attribute set of anything) or boolean or (luaInline))</p>
|
|||
</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<p>Use signs for diagnostics. See <span class="command"><strong>:help diagnostic-signs</strong></span>.</p>
|
||||
<p>Use signs for diagnostics. See <span class="command"><strong>:help diagnostic-signs</strong></span>.</p><div class="note"><h3 class="title">Note</h3><p>The code presented in that example section uses Lua expressions as object keys which
|
||||
only translate well if you use <code class="literal">lib.generators.mkLuaInline</code> as in the example.</p></div>
|
||||
|
||||
<p><span class="emphasis"><em>Type:</em></span>
|
||||
(attribute set of anything) or boolean or (luaInline)</p>
|
||||
|
@ -7120,14 +7121,13 @@ attribute set of ((attribute set of anything) or boolean or (luaInline))</p>
|
|||
<p><span class="emphasis"><em>Default:</em></span>
|
||||
<code class="literal">false</code></p>
|
||||
|
||||
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
|
||||
signs = {
|
||||
text = {
|
||||
"vim.diagnostic.severity.ERROR" = " ";
|
||||
"vim.diagnostic.severity.WARN" = " ";
|
||||
};
|
||||
};
|
||||
}
|
||||
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">signs.text = lib.generators.mkLuaInline ''
|
||||
{
|
||||
[vim.diagnostic.severity.ERROR] = " ",
|
||||
[vim.diagnostic.severity.WARN] = " ",
|
||||
}
|
||||
'';
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p><span class="emphasis"><em>Declared by:</em></span></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue