Neovim 0.11 was released. Highlights include:
- Breaking Changes: List in release notes. Plugin authors should read.
LSP:
- Simpler Setup and Configuration: New
vim.lsp.config()
andvim.lsp.enable()
APIs. Can use simple config files or provide options.:checkhealth lsp
for diagnostics. - Builtin Auto-completion: Enabled with
vim.lsp.completion.enable()
. - Improved Hover Documentation: Uses Markdown tree-sitter highlighting. New
winborder
option for hover window borders. - Putting It All Together: Video shows setting up LSP from scratch.
- Simpler Setup and Configuration: New
- Tree-sitter Performance: Async highlighting, folding, and injected query iteration. Queries cached more efficiently.
- Better Emoji Support: Resolved issues with ZWJ and other modifiers. Supports DEC mode 2027.
Diagnostics:
- Virtual Text Handler: Opt-in with
vim.diagnostic.config({ virtual_text = true })
. Newcurrent_line
option. - Virtual Lines: Plugin added to Neovim core. Enabled with
vim.diagnostic.config({ virtual_lines = true })
.
- Virtual Text Handler: Opt-in with
- Defaults: Added more default key mappings for LSP. Also included some from vim-unimpaired.
Terminal:
- Cursor shape and blink change. OSC 52 and OSC 8 sequences supported. DEC mode 2031 for theme updates. Kitty keyboard protocol support. New mappings for shell prompts.
Miscellaneous:
g==
in help buffers to execute code.completeopt
with "fuzzy" value. Extmarks can conceal entire lines. New right-click menu items.
- Getting Involved: Encourage users to contribute or participate in the community.
The full list of changes is in the release notes (use :h news
).
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。