This commit is contained in:
NotAShelf 2025-05-04 15:29:34 +00:00
commit dc629cbdb3
2 changed files with 13 additions and 34 deletions

View file

@ -12714,30 +12714,6 @@ boolean</p>
<p><span class="emphasis"><em>Default:</em></span> <p><span class="emphasis"><em>Default:</em></span>
<code class="literal">false</code></p> <code class="literal">false</code></p>
<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/plugins/languages" target="_top">
&lt;nvf/modules/plugins/languages&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-vim.languages.enableLSP"></a><a class="term" href="options.html#opt-vim.languages.enableLSP"><code class="option">vim.languages.enableLSP</code>
</a>
</span>
</dt>
<dd>
<p>Turn on LSP for enabled languages by default</p>
<p><span class="emphasis"><em>Type:</em></span>
boolean</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">false</code></p>
<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>
@ -22936,7 +22912,11 @@ one of “relative”, “number”, “relNumber”, “none”</p>
</span> </span>
</dt> </dt>
<dd> <dd>
<p>Whether to enable LSP, also enabled automatically through null-ls and lspconfig options.</p> <p>Whether to enable global LSP functionality for Neovim.</p><p>This option controls whether to enable LSP functionality within modules under
<code class="option">vim.languages</code>. You do not need to set this to <code class="literal">true</code> for language
servers defined in <code class="option">vim.lsp.servers</code> to take effect, since they are
enabled automatically.
.</p>
<p><span class="emphasis"><em>Type:</em></span> <p><span class="emphasis"><em>Type:</em></span>
boolean</p> boolean</p>
@ -22950,8 +22930,8 @@ boolean</p>
<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>
<code class="filename"><a class="filename" href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/lsp/module.nix" target="_top"> <code class="filename"><a class="filename" href="https://github.com/NotAShelf/nvf/blob/main/modules/neovim/init/lsp.nix" target="_top">
&lt;nvf/modules/plugins/lsp/module.nix&gt; &lt;nvf/modules/neovim/init/lsp.nix&gt;
</a></code> </a></code>
</td></tr> </td></tr>
</table> </table>
@ -24519,10 +24499,10 @@ list of string</p>
</span> </span>
</dt> </dt>
<dd> <dd>
<p>LSP configurations that will be managed using <code class="literal">vim.lsp.config()</code> and <p>LSP configurations that will be managed using <code class="literal">vim.lsp.config()</code> and related
related utilities added in Neovim 0.11. LSPs defined here will be utilities added in Neovim 0.11. LSPs defined here will be added to the
added to the resulting <code class="filename">init.lua</code> using <code class="literal">vim.lsp.config</code> and resulting <code class="filename">init.lua</code> using <code class="literal">vim.lsp.config</code> and enabled through
enabled through <code class="literal">vim.lsp.enable</code> below the configuration table.</p><p>You may review the generated configuration by running <span class="command"><strong>nvf-print-config</strong></span> <code class="literal">vim.lsp.enable()</code> API from Neovim below the configuration table.</p><p>You may review the generated configuration by running <span class="command"><strong>nvf-print-config</strong></span>
in a shell. Please see <span class="command"><strong>:help lsp-config</strong></span> for more details in a shell. Please see <span class="command"><strong>:help lsp-config</strong></span> for more details
on the underlying API.</p> on the underlying API.</p>

View file

@ -93,9 +93,8 @@ found under the <code class="literal">pkgs.vimPlugins.nvim-treesitter.builtGramm
Treesitter grammars for supported languages should be enabled within the Treesitter grammars for supported languages should be enabled within the
module. By default no grammars are installed, thus the following grammars module. By default no grammars are installed, thus the following grammars
which do not have a language section are not included anymore: <span class="strong"><strong>comment</strong></span>, which do not have a language section are not included anymore: <span class="strong"><strong>comment</strong></span>,
<span class="strong"><strong>toml</strong></span>, <span class="strong"><strong>make</strong></span>, <span class="strong"><strong>html</strong></span>, <span class="strong"><strong>css</strong></span>, <span class="strong"><strong>graphql</strong></span>, <span class="strong"><strong>json</strong></span>.</p></li><li class="listitem"><p>A new section has been added for language support: <code class="literal">vim.languages.&lt;language&gt;</code>.</p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: circle;"><li class="listitem"><p>The options <a class="xref" href="options.html#opt-vim.languages.enableLSP" ><code class="option">vim.languages.enableLSP</code></a>, <span class="strong"><strong>toml</strong></span>, <span class="strong"><strong>make</strong></span>, <span class="strong"><strong>html</strong></span>, <span class="strong"><strong>css</strong></span>, <span class="strong"><strong>graphql</strong></span>, <span class="strong"><strong>json</strong></span>.</p></li><li class="listitem"><p>A new section has been added for language support: <code class="literal">vim.languages.&lt;language&gt;</code>.</p><div class="itemizedlist"><ul class="itemizedlist compact" style="list-style-type: circle;"><li class="listitem"><p>The options <code class="literal">enableLSP</code> <a class="xref" href="options.html#opt-vim.languages.enableTreesitter" ><code class="option">vim.languages.enableTreesitter</code></a>, etc. will
<a class="xref" href="options.html#opt-vim.languages.enableTreesitter" ><code class="option">vim.languages.enableTreesitter</code></a>, etc. will enable the respective enable the respective section for all languages that have been enabled.</p></li><li class="listitem"><p>All LSP languages have been moved here</p></li><li class="listitem"><p><code class="literal">plantuml</code> and <code class="literal">markdown</code> have been moved here</p></li><li class="listitem"><p>A new section has been added for <code class="literal">html</code>. The old
section for all languages that have been enabled.</p></li><li class="listitem"><p>All LSP languages have been moved here</p></li><li class="listitem"><p><code class="literal">plantuml</code> and <code class="literal">markdown</code> have been moved here</p></li><li class="listitem"><p>A new section has been added for <code class="literal">html</code>. The old
<code class="literal">vim.treesitter.autotagHtml</code> can be found at <code class="literal">vim.treesitter.autotagHtml</code> can be found at
<a class="xref" href="options.html#opt-vim.languages.html.treesitter.autotagHtml" ><code class="option">vim.languages.html.treesitter.autotagHtml</code></a>.</p></li></ul></div></li><li class="listitem"><p><code class="literal">vim.git.gitsigns.codeActions</code> has been added, allowing you to turn on <a class="xref" href="options.html#opt-vim.languages.html.treesitter.autotagHtml" ><code class="option">vim.languages.html.treesitter.autotagHtml</code></a>.</p></li></ul></div></li><li class="listitem"><p><code class="literal">vim.git.gitsigns.codeActions</code> has been added, allowing you to turn on
Gitsigns code actions.</p></li><li class="listitem"><p>Removed the plugins document in the docs. Was too unwieldy to keep updated.</p></li><li class="listitem"><p><code class="literal">vim.visual.lspkind</code> has been moved to <a class="xref" href="options.html#opt-vim.lsp.lspkind.enable" ><code class="option">vim.lsp.lspkind.enable</code></a></p></li><li class="listitem"><p>Improved handling of completion formatting. When setting Gitsigns code actions.</p></li><li class="listitem"><p>Removed the plugins document in the docs. Was too unwieldy to keep updated.</p></li><li class="listitem"><p><code class="literal">vim.visual.lspkind</code> has been moved to <a class="xref" href="options.html#opt-vim.lsp.lspkind.enable" ><code class="option">vim.lsp.lspkind.enable</code></a></p></li><li class="listitem"><p>Improved handling of completion formatting. When setting