Merge branch 'main' into feat-treesitter-settings

This commit is contained in:
Ching Pei Yang 2026-04-16 02:40:31 +02:00 committed by GitHub
commit 324e1caf35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
141 changed files with 3570 additions and 2428 deletions

View file

@ -18,8 +18,8 @@ entries in nvf:
6. `lazyConfigs` - `lz.n` and `lzn-auto-require` configs. If `vim.lazy.enable`
is false, this will contain each plugin's config instead.
7. `pluginConfigs` - the result of the nested `vim.pluginRC` (internal option,
see the [Custom Plugins](/index.xhtml#ch-custom-plugins) page for adding your
own plugins) DAG, used to set up internal plugins
see the [Custom Plugins](./configuring.html#ch-custom-plugins) page for
adding your own plugins) DAG, used to set up internal plugins
8. `extraPluginConfigs` - the result of `vim.extraPlugins`, which is not a
direct DAG, but is converted to, and resolved as one internally
9. `mappings` - the result of `vim.maps`

View file

@ -75,8 +75,6 @@ languages have sections under the `vim.languages` attribute.
[vim.languages.scala.enable](./options.html#option-vim-languages-scala-enable)
- Svelte:
[vim.languages.svelte.enable](./options.html#option-vim-languages-svelte-enable)
- Tailwind:
[vim.languages.tailwind.enable](./options.html#option-vim-languages-tailwind-enable)
- Terraform:
[vim.languages.terraform.enable](./options.html#option-vim-languages-terraform-enable)
- Typst:

View file

@ -91,7 +91,7 @@ consistency and to avoid clashing opinions on how formatters should behave, we
are very opinionated on how those files should be formatted.
- Nix files **must** be formatted with the Alejandra formatter, following some
specific tips found in [Nix style section](#nix-sec-code-style-nix).
specific tips found in [Nix style section](#sec-code-style-nix).
- Markdown files **must** be formatted with the `deno fmt` command, as described
in the [Markdown style section](#sec-code-style-markdown).

View file

@ -10,7 +10,7 @@ In v0.7 we are removing `vim.configRC` in favor of making `vim.luaConfigRC` the
top-level DAG, and thereby making the entire configuration Lua based. This
change introduces a few breaking changes:
[DAG entries in nvf manual]: /index.xhtml#ch-dag-entries
[DAG entries in nvf manual]: ./configuring.html#ch-dag-entries
- `vim.configRC` has been removed, which means that you have to convert all of
your custom vimscript-based configuration to Lua. As for how to do that, you

View file

@ -63,6 +63,45 @@
- Added `json5` into `languages.json`. Some options where renamed.
- Moved `vim.lsp.harper-ls` to `vim.lsp.presets.haper`.
- Removed `typst_lsp` from `languages.typst.lsp.servers`, because it is
deprecated and thus was pulled from nixpkgs.
<https://github.com/NixOS/nixpkgs/commit/bf24296bbe2e31ac7147b02ea645922390ca8f4b>
- Renamed `ts_ls` to `typescript-language-server`.
- Renamed `denols` to `deno`.
- Renamed `tsgo` to `typescript-go`.
- Renamed `vala_ls` to `vala-language-server`.
- Renamed `terraformls-tf` and `terraformls-hcl` to `terraform-ls`.
- Renamed `tofuls-tf` and `tofuls-hcl` to `tofu-ls`.
- Renamed `ruby_lsp` to `ruby-lsp`.
- Renamed `r_language_server` to `r-languageserver`.
- Renamed `julials` to `julia-languageserver`.
- Renamed `astro` to `astro-language-server`.
- Renamed `bash-ls` to `bash-language-server`.
- Renamed `jsonls` to `vscode-json-language-server`.
- Renamed `cssls` to `vscode-css-language-server`.
- Renamed `jdtls` to `jdt-language-server`.
- Renamed `elixirls` to `elixir-ls`.
- Removed `languages.tailwind` which only provided an LSP. Use
`lsp.presets.tailwindcss-language-server` instead.
## Changelog {#sec-release-0-9-changelog}
[SecBear](https://github.com/SecBear):
@ -195,6 +234,7 @@
{command}`:healthcheck` doesn't know that.
- Remove [which-key.nvim] `<leader>o` `+Notes` description which did not
actually correspond to any keybinds.
- Allow disabling nvf's vendored keymaps by toggling `vendoredKeymaps.enable`.
[pyrox0](https://github.com/pyrox0):
@ -209,7 +249,7 @@
- Added [Pyrefly](https://pyrefly.org/) and [zuban](https://zubanls.com/)
support to `languages.python`
- Added TOML support via {option}`languages.toml` and the
- Added TOML support via {option}`vim.languages.toml.enable` and the
[Tombi](https://tombi-toml.github.io/tombi/) language server, linter, and
formatter.
@ -229,6 +269,13 @@
[Snoweuph](https://github.com/snoweuph)
- Added `vim.lsp.presets.<name>` to contain LSP configurations. This allows for
more flexibility in nvf and reuse of LSPs across languages. Dropped
`deprecatedSingleOrListOf` in favor of `listOf` for the affected LSP options.
- Fix `vim.lsp.presets.vala-language-server` to be wrapped correctly with
`uncrustify`.
- Fix `tressiter` to allow `null` in grammar options, so they can be filtered
out.

View file

@ -1,11 +1,11 @@
# Offline Documentation {#sec-offline-documentation}
[https://notashelf.github.io/nvf/options.html]: https://notashelf.github.io/nvf/options.html
[https://nvf.notashelf.dev/options.html]: https://nvf.notashelf.dev/options.html
The manpages provided by nvf contains an offline version of the option search
normally available at [https://notashelf.github.io/nvf/options.html]. You may
use the `man 5 nvf` command to view option documentation from the comfort of
your terminal.
normally available at [https://nvf.notashelf.dev/options.html]. You may use the
`man 5 nvf` command to view option documentation from the comfort of your
terminal.
Note that this is only available for NixOS and Home-Manager module
installations.