mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-05-19 05:24:22 +00:00
Deploy PR #1581 preview
This commit is contained in:
parent
883c105a29
commit
45f73a824c
4 changed files with 191 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
|
@ -310,6 +310,7 @@ languages have sections under the <code>vim.languages</code> attribute.</p>
|
|||
<li><a class="option-reference" href="options.html#option-vim.languages.scala.enable"><code class="nixos-option">vim.languages.scala.enable</code></a></li>
|
||||
<li><a class="option-reference" href="options.html#option-vim.languages.scss.enable"><code class="nixos-option">vim.languages.scss.enable</code></a></li>
|
||||
<li><a class="option-reference" href="options.html#option-vim.languages.sql.enable"><code class="nixos-option">vim.languages.sql.enable</code></a></li>
|
||||
<li><a class="option-reference" href="options.html#option-vim.languages.standard-ml.enable"><code class="nixos-option">vim.languages.standard-ml.enable</code></a></li>
|
||||
<li><a class="option-reference" href="options.html#option-vim.languages.svelte.enable"><code class="nixos-option">vim.languages.svelte.enable</code></a></li>
|
||||
<li><a class="option-reference" href="options.html#option-vim.languages.tera.enable"><code class="nixos-option">vim.languages.tera.enable</code></a></li>
|
||||
<li><a class="option-reference" href="options.html#option-vim.languages.terraform.enable"><code class="nixos-option">vim.languages.terraform.enable</code></a></li>
|
||||
|
|
|
|||
|
|
@ -5335,7 +5335,7 @@
|
|||
<details class="toc-category">
|
||||
<summary title="vim.languages">
|
||||
<span>vim.languages</span>
|
||||
<span class="toc-count">561</span>
|
||||
<span class="toc-count">568</span>
|
||||
</summary>
|
||||
<ul>
|
||||
|
||||
|
|
@ -8821,6 +8821,62 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.standard-ml.enable' title="vim.languages.standard-ml.enable">
|
||||
standard-ml.enable
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.standard-ml.format.enable' title="vim.languages.standard-ml.format.enable">
|
||||
standard-ml.format.enable
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.standard-ml.format.type' title="vim.languages.standard-ml.format.type">
|
||||
standard-ml.format.type
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.standard-ml.lsp.enable' title="vim.languages.standard-ml.lsp.enable">
|
||||
standard-ml.lsp.enable
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.standard-ml.lsp.servers' title="vim.languages.standard-ml.lsp.servers">
|
||||
standard-ml.lsp.servers
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.standard-ml.treesitter.enable' title="vim.languages.standard-ml.treesitter.enable">
|
||||
standard-ml.treesitter.enable
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.standard-ml.treesitter.package' title="vim.languages.standard-ml.treesitter.package">
|
||||
standard-ml.treesitter.package
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.languages.svelte.enable' title="vim.languages.svelte.enable">
|
||||
svelte.enable
|
||||
|
|
@ -10011,7 +10067,7 @@
|
|||
<details class="toc-category">
|
||||
<summary title="vim.lsp">
|
||||
<span>vim.lsp</span>
|
||||
<span class="toc-count">158</span>
|
||||
<span class="toc-count">159</span>
|
||||
</summary>
|
||||
<ul>
|
||||
|
||||
|
|
@ -10793,6 +10849,14 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.lsp.presets.millet.enable' title="vim.lsp.presets.millet.enable">
|
||||
presets.millet.enable
|
||||
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href='#option-vim.lsp.presets.neocmakelsp.enable' title="vim.lsp.presets.neocmakelsp.enable">
|
||||
presets.neocmakelsp.enable
|
||||
|
|
@ -33874,6 +33938,98 @@ not listed in the docs</p>
|
|||
<div class="option-default">Default: <code><derivation vimplugin-nvim-treesitter-grammar-sql-0.0.0+rev=851e9cb></code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/sql.nix" target="_blank"><nvf/modules/plugins/languages/sql.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.standard-ml.enable">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.standard-ml.enable" class="option-anchor">vim.languages.standard-ml.enable</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>boolean</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>Whether to enable Standard ML support.</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>false</code></div>
|
||||
<div class="option-example">Example: <code>true</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/standard-ml.nix" target="_blank"><nvf/modules/plugins/languages/standard-ml.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.standard-ml.format.enable">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.standard-ml.format.enable" class="option-anchor">vim.languages.standard-ml.format.enable</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>boolean</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>Whether to enable Standard ML formatting.</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>config.vim.languages.enableFormat</code></div>
|
||||
<div class="option-example">Example: <code>true</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/standard-ml.nix" target="_blank"><nvf/modules/plugins/languages/standard-ml.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.standard-ml.format.type">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.standard-ml.format.type" class="option-anchor">vim.languages.standard-ml.format.type</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>list of value "smlfmt" (singular enum)</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>Standard ML formatter to use</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>[
|
||||
"smlfmt"
|
||||
]</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/standard-ml.nix" target="_blank"><nvf/modules/plugins/languages/standard-ml.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.standard-ml.lsp.enable">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.standard-ml.lsp.enable" class="option-anchor">vim.languages.standard-ml.lsp.enable</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>boolean</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>Whether to enable Standard ML LSP support.</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>config.vim.lsp.enable</code></div>
|
||||
<div class="option-example">Example: <code>true</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/standard-ml.nix" target="_blank"><nvf/modules/plugins/languages/standard-ml.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.standard-ml.lsp.servers">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.standard-ml.lsp.servers" class="option-anchor">vim.languages.standard-ml.lsp.servers</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>list of value "millet" (singular enum)</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>Standard ML LSP server to use</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>[
|
||||
"millet"
|
||||
]</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/standard-ml.nix" target="_blank"><nvf/modules/plugins/languages/standard-ml.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.standard-ml.treesitter.enable">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.standard-ml.treesitter.enable" class="option-anchor">vim.languages.standard-ml.treesitter.enable</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>boolean</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>Whether to enable Standard ML treesitter.</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>config.vim.languages.enableTreesitter</code></div>
|
||||
<div class="option-example">Example: <code>true</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/standard-ml.nix" target="_blank"><nvf/modules/plugins/languages/standard-ml.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.standard-ml.treesitter.package">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.standard-ml.treesitter.package" class="option-anchor">vim.languages.standard-ml.treesitter.package</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>null or package</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>The sml treesitter package to use.</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>pkgs.tree-sitter-grammars.tree-sitter-sml</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/languages/standard-ml.nix" target="_blank"><nvf/modules/plugins/languages/standard-ml.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.languages.svelte.enable">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.languages.svelte.enable" class="option-anchor">vim.languages.svelte.enable</a>
|
||||
|
|
@ -37196,6 +37352,22 @@ Use <code class="nixos-option">vim.lsp.servers.marksman</code> for customization
|
|||
<div class="option-example">Example: <code>true</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/lsp/presets/marksman.nix" target="_blank"><nvf/modules/plugins/lsp/presets/marksman.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.lsp.presets.millet.enable">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.lsp.presets.millet.enable" class="option-anchor">vim.lsp.presets.millet.enable</a>
|
||||
<span class="copy-link" title="Copy link to this option"></span>
|
||||
<span class="copy-feedback">Link copied!</span>
|
||||
</h3>
|
||||
<div class="option-type">Type: <code>boolean</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>Whether to enable the Millet Standard ML Language Server.
|
||||
Default <code>filetypes = [ ]</code>.
|
||||
Use <code class="nixos-option">vim.lsp.servers.millet</code> for customization
|
||||
.</p>
|
||||
</body></html></div>
|
||||
<div class="option-default">Default: <code>false</code></div>
|
||||
<div class="option-example">Example: <code>true</code></div>
|
||||
<div class="option-declared">Declared in: <code><a href="https://github.com/NotAShelf/nvf/blob/main/modules/plugins/lsp/presets/millet.nix" target="_blank"><nvf/modules/plugins/lsp/presets/millet.nix></a></code></div>
|
||||
</div>
|
||||
<div class="option" id="option-vim.lsp.presets.neocmakelsp.enable">
|
||||
<h3 class="option-name">
|
||||
<a href="#option-vim.lsp.presets.neocmakelsp.enable" class="option-anchor">vim.lsp.presets.neocmakelsp.enable</a>
|
||||
|
|
@ -45616,8 +45788,13 @@ See treesitter builtin mappings here: <<a href="https://github.com/nvim-trees
|
|||
</h3>
|
||||
<div class="option-type">Type: <code>list of (null or package)</code></div>
|
||||
<div class="option-description"><html><head></head><body><p>List of treesitter grammars to install. For grammars to be installed properly,
|
||||
you must use grammars from <code>pkgs.vimPlugins.nvim-treesitter.parsers</code> or <code>pkgs.vimPlugins.nvim-treesitter.grammarPlugins</code>.
|
||||
You can use <code>pkgs.vimPlugins.nvim-treesitter.allGrammars</code> to install all grammars.</p>
|
||||
you must use grammars from one of those:</p>
|
||||
<ul>
|
||||
<li><code>pkgs.vimPlugins.nvim-treesitter.parsers</code></li>
|
||||
<li><code>pkgs.vimPlugins.nvim-treesitter.grammarPlugins</code></li>
|
||||
<li><code>pkgs.tree-sitter-grammars</code> (mostly untested)</li>
|
||||
</ul>
|
||||
<p>You can use <code>pkgs.vimPlugins.nvim-treesitter.allGrammars</code> to install all grammars shipped with <code>nvim-treesitter</code>.</p>
|
||||
<p>For languages already supported by nvf, you may use
|
||||
<code class="nixos-option">vim.language.<lang>.treesitter</code> options, which will automatically add
|
||||
the required grammars to this.</p>
|
||||
|
|
|
|||
|
|
@ -483,6 +483,11 @@ formatter.</p>
|
|||
<p><a href="https://github.com/snoweuph">Snoweuph</a></p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>Allow the usage of <code>pks.tree-sitter-grammars</code> in
|
||||
<a class="option-reference" href="options.html#option-vim.treesitter.grammars"><code class="nixos-option">vim.treesitter.grammars</code></a> and language module tree-sitter package
|
||||
options created via <code>mkGrammarOption</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Add <code>emmet-ls</code> to the supported LSPs for all languages it supports.</p>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -636,6 +641,9 @@ enabled. Fixes a crash (#1350).</p>
|
|||
<code>languages.ts</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Added <code>languages.standard-ml</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Added <code>languages.vue</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue