Repository navigation
26.07
Hey all! It's been a while. Not quite a full year cough like last time this
time around, but we've been quite busy with bringing you a release just as big.
This one is a contender for the largest release nvf has seen, with almost a
thousand commits. We can't pretend it's sustainable, but well, we can actually.
Here we are with sweeping internal changes, ton of new language support, and a
general cleanup of things that has been gathering dust.
I want to lead with a sincere thank you to everyone who contributed, reported
bugs, or just stuck around. The project has grown well beyond what I expected,
and seeing pull requests come in from people I've never talked to is genuinely
humbling.
New Release Model
It has always struck people as a little odd that nvf has a release model. Well,
it's not going away. But we've decided to migrate nvf's Nixpkgs channel to the
stable branch, and moved on with a new release model that is about dates than
arbitrary numbers. From now on, we'll be tracking the Nixpkgs stable releases,
and release within 1-2 months of each stable release. 26.07 is the companion to
26.05 release of Nixpkgs, and the next release of nvf will probably be 26.12
following the release of Nixpkgs 26.11. We'll also use this opportunity to
establish a nicer backporting policy, which was promised, considered, and
attempted in the past but has never seen the face of day.
Notable Changes
Note
If you're upgrading from v0.8, the breaking changes section in the
release notes is your friend.
The biggest shift is the introduction of vim.lsp.presets and
vim.formatter.conform-nvim.presets. LSP server configs and formatter
definitions are now modular presets that can be shared across language modules.
This replaced a lot of inline definitions and makes the whole thing easier to
maintain. Along the same lines, the DAP system was reworked with proper adapter
and configuration types.
Neovim's treesitter integration saw upheaval from the nixpkgs side. The upstream
rewrite drops incremental selections but lands on a more maintainable footing.
We've adapted accordingly.
Major New Features
vim.lsp.presets- LSP server configurations extracted into reusable
presets, decoupled from individual language modulesvim.formatter.conform-nvim.presets- Same treatment for formatters;
every language module now consumes presets instead of defining formatters
inline- DAP rework - Proper
adaptersandconfigurationsoptions under
vim.debugger.nvim-dap, cleaned up across all language modules vim.filetypemodule - Register custom filetypes viavim.filetype.add()
without touching Neovim configvim.healthchecks- New module for health checks, starting with clipboard
providersdarwinModule- Dedicated module for nix-darwin users so you don't get
hit with the class mismatch errorvendoredKeymaps.enable- Toggle nvf's built-in keymaps on or offvim.session.persisted- Session persistence via persisted.nvimvim.ui.ui2- Neovim 0.12's ui2 feature supportvim.treesitter.queries- Add custom treesitter queries directly from nixvim.treesitter.filetypeMappings- Map filetypes for treesitter injection
New Language Modules
We've added a staggering number of new language modules since v0.8:
- CMake, Arduino, GLSL - via neocmakelsp, arduino-language-server, and
glsl_analyzer - Docker- full support with docker-language-server
- Vue - dedicated module with vue-language-server and vtsls
- Angular - angular-language-server with template support
- Fish - fish-lsp and fish_indent
- SCSS/SASS - split from CSS with some-sass-language-server
- Zsh - split from bash into its own module
- Jinja, Tera, Liquid, Twig - templating language support
- XML - syntax highlighting, LSP, formatting
- LaTeX - texlab LSP, formatting, highlighting
- OpenSCAD - openscad-lsp with formatting and diagnostics
- JQ - highlighting, formatting, LSP
- Make - treesitter, formatters, diagnostics
- Standard ML - via millet LSP
- Elm - elm-language-server
- VHDL - vhdl-ls
- TOML - taplo as default LSP and formatter
- Env, Gettext, Fluent - minimal modules for highlighting and filetype hooks
- Pug - treesitter + emmet-ls
- Docker Compose — YAML-based highlighting via treesitter
And more: React/TSX split from typescript, new diagnostics providers like
golangci-lint, mypy, PHPStan, cpplint, selene, harper-ls
improvements, Mago for PHP, and debugging support added to Odin, PHP, and Java.
New Plugins & Visuals
There is also a humble amount of new plugins added to our list of plugin
modules.
- blink.indent - indent guide plugin from the blink.cmp author
- grug-far.nvim - interactive find-and-replace
- mini.cmdline - improved cmdline from mini.nvim
- hlargs.nvim - highlight function arguments
- codewindow.nvim - code minimap
- crazy-coverage.nvim - code coverage overlays
- gruber-darker - new colorscheme
- cord.nvim - Discord rich presence
- syntax-gaslighting.nvim - yes, really
- csvview.nvim - render CSV files as aligned tables
- img-clip.nvim - separated into its own DAG entry
Ecosystem Cleanup
- Deprecated
vim.mapsin favor ofvim.keymaps - Removed
mind.nvim(upstream deleted) - Removed
foldByDefault(foldenable works fine on its own) - Dropped
prettierdin remaining modules; useprettier - Standardized LSP server names across the board:
ts_ls→typescript-language-serverdenols→deno- etc.
There's more, a lot more than I can cover in this announcement. For this reason,
I invite you to take a gander at the full changelog runs deep. Some rough
edges are expected given the scope, so please open an issue if something feels
off.
Thanks
This release has been shaped by more contributors than any before. A massive
shoutout to @snoweuph, who has basically become
the backbone of nvf's development. His work on the LSP/formatter preset system,
new language modules, treesitter injections, and general code quality is visible
on nearly every page of the changelog. If you've used nvf in the last year,
you've used Snoweuph's code.
@horriblename continues to keep things
running smoothly as a co-maintainer, handling everything from CI fixes to DAP
reworks. @alfarelcynthesis overhauled the
obsidian.nvim integration, added the vendored keymaps toggle, and brought pug
support. @pyrox0 landed rumdl, sqruff, hlargs,
pyrefly, zuban, blink.indent, and lazy-loading improvements.
@poseidon-rises contributed PHPStan, docker
module scaffolding, and prettier support for JSON.
Thanks to @CaueAnjos for the C# module overhaul,
@sjcobb2022 for the rustaceanvim-free rust
module, @dathegreat for haskell module fixes,
@ppenguin for terraform/hcl improvements,
@poz for cmake/arduino/glsl,
@midischwarz12 for leetcode and plugin
fixes, @taylrfnt for the darwin module,
@kazimazi for grug-far and blink.indent, and
everyone else who sent in patches, bug reports, or feature requests.
The full list of contributors is too long to name individually here, but every
single one of you is reflected in the changelog. If I missed you, yell at me and
I'll add you. I appreciate you.
We've also passed some nice milestones since v0.8. More stars, more forks, more
users. That kind of thing matters to a project like this. Thanks for being here.
New Maintainers
With this release, @snoweuph has formally stepped
into a maintainer role after doing the job unofficially for most of the release
cycle. Well deserved. @horriblename and
@Soliprem continue to hold things down as
co-maintainers. If you want to help shape nvf's direction, reach out. This is a
community project and I mean that literally.
I'm going to take a breather after this one. v0.8 was big. This one is bigger.
Next one will probably will probably involve me sleeping, but, the maintainers
will be around to keep things moving, so don't hesitate to bump issues or PRs if
they go cold.
Hope you enjoy the release.
- NotAShelf