Skip to content

Commit e69a64d

Browse files
committed
news: 0.5.1
1 parent da12d55 commit e69a64d

File tree

1 file changed

+126
-0
lines changed

1 file changed

+126
-0
lines changed

_posts/2021-09-26-newsletter.md

+126
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
---
2+
layout: newsletter
3+
title: "Neovim News #12 - The Work Continues"
4+
category: newsletter
5+
permalink: /news/2021/09
6+
---
7+
8+
> The Citadel stripped me of it. They found some of my... experiments... too bold.
9+
—Qyburn
10+
11+
Nvim 0.5.1 has been released, it includes many fixes and some breaking changes:
12+
13+
- ...
14+
- ...
15+
16+
## Velocity
17+
18+
Lua-first development is now a central practice in the Neovim project.
19+
20+
We started with everything tucked into `vim.lsp`. The community began heavily
21+
building on `vim.lsp.diagnostic`, it became clear that this "diagnostic"
22+
concept had more general value beyond only LSP.
23+
The development of `vim.diagnostic` diagnostic framework from concept, to
24+
interface design, to delivery was a matter of weeks, thanks to @gpanders.
25+
26+
The `vim.diagnostic` API is available in Nvim master (unreleased 0.6) and we are considering it for 0.5.2 stable release.
27+
28+
Thoug the Nvim RPC API is bound by a sacred
29+
[contract](https://neovim.io/doc/user/api.html#api-contract), in other ares of Nvim we are now more
30+
aggressively deprecating and reworking interfaces. We are fundamentally committed to backwards compatibility for the RPC API and will eventually adopt that commitment in the Lua interface. Meanwhile, we reserve the option of breaking things in Lua-land. Such breakage is collected and announced in the [Following HEAD](https://github.com/neovim/neovim/issues/14090) thread.
31+
32+
This liberty has allowed us to move 10x faster.
33+
34+
### Lua plugins
35+
36+
@bfredl continues to improve Lua and Vimscript "runtime path" behavior to be intuitive, useful, and fast.
37+
38+
The model of "core framework, external dust cloud" has proven out. nvim-treesitter external project is heavily experimenting and some of its ancillary efforts such as UI "widgets" are finding their way back to core.
39+
40+
nvim-lspconfig saw heavy churn for 1+ years and is now settling down. Some of its utilities such as `:LspInfo` and the "root finder" mechanism are being considered as core Nvim feature.
41+
42+
### Lua config
43+
44+
Nvim supports `init.lua` as user config since 0.5, and in 0.6. we are working on `nvim -l` to support invoking Lua "main" scripts with `nvim`.
45+
46+
## Language Server Protocol (LSP)
47+
48+
The [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) (LSP) is an
49+
open, JSON-RPC protocol for communication between code editors and
50+
language servers, which provide programming language-specific features such as
51+
completion, hover/tooltips, go to definition, show/go to references, show
52+
method signatures, rename, refactoring.
53+
54+
Nvim's builtin [`vim.lsp`](https://neovim.io/doc/user/lsp.html) [LSP framework](https://www.youtube.com/watch?v=ArwDgvYEZYk)
55+
plus [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) quickstart collection has been a major success,
56+
demonstrating the viability of shipping ambitious ideas in core Nvim using Lua.
57+
Nvim core developers use it to accelerate their work in Nvim's C and Lua source code.
58+
59+
Work on [semantic highlighting](https://github.com/neovim/neovim/pull/14122) continues.
60+
61+
## Tree-sitter
62+
63+
Work on [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) parser integration continues: performance, bug-fixes.
64+
65+
Also, Neovim itself only provides a (Lua) API for generating and querying the syntax tree using the bundled tree-sitter library; see [`:h treesitter`](https://neovim.io/doc/user/treesitter.html). User-facing features like the ones mentioned above are implemented in plugins like
66+
67+
## Feedback loop
68+
69+
Your feedback helps us. We considered removing the 'backspace' option and decided to keep it based on comments explaining the use cases for some of its non-default behavior. We also asked about `:hardcopy` and found that it's relatively unknown but still sees usage; we will not remove its implementation until we have a complete answer for inscribing your pixels to paper.
70+
71+
72+
73+
## Engineering
74+
75+
`vim.mpack` now exposes a Lua-first messagepack encoder/decoder without marshalling through Vimscript. This also sets the stage for eliminating a dependency on libmsgpack in favor of libmpack.
76+
77+
`vim.json` exposes a Lua-first JSON encoder/decoder without marshalling through Vimscript. This performance gain is helpful in the LSP client, where JSON de/serialization dominates the cost of many client activities.
78+
79+
Nvim core team has fully migrated to GitHub Actions for CI, and we are leaning heavily on this to automate even more of our workflow.
80+
81+
Nvim C source code is now fully reformatted to match our [style guide](https://neovim.io/doc/user/dev_style.html#dev-style), so that our development workflow favors auto-formatting instead of tedious human-driven compliance with the style guide. This is especially important for reducing friction of merging patches from upstream Vim.
82+
83+
84+
### Vim patches
85+
86+
Of the over XXX commits in this release, about XXX were patches and runtime updates ported from Vim.
87+
88+
Nvim `master` branch is up-to-date with Vim runtime files.
89+
90+
91+
## Community
92+
93+
In keeping with the motto of this newsletter, one of the most noticeable positive changes was the growth of the community and of new ways of interacting with it.
94+
95+
### Discourse
96+
97+
Previously, support requests and discussions were spread across Reddit, Gitter, and GitHub Discussions and were either ephemeral or hard to search for. We have now consolidated around a new [Neovim Discourse](https://neovim.discourse.group), which is a free and open source forum platform with mailing list and RSS features, in addition to a nice web interface. The Neovim Discourse is an official core project and moderated by core team members.
98+
99+
### Matrix
100+
101+
The official chatroom for Neovim is on [matrix](https://app.element.io/#/room/#neovim:matrix.org).
102+
103+
### Vimconf.live
104+
105+
Community members and Neovim core developers will speak at [Vimconf.live](https://www.vimconf.live).
106+
107+
### Twitch
108+
109+
Neovim core developers @vigoux and [@tjdevries](https://www.twitch.tv/teej_dv) continue to stream on [Twitch](https://twitch.tv).
110+
111+
### Neovim development
112+
113+
Active Neovim developmers continues to grow. In the last three months, there were XXX unique commit authors.
114+
115+
## Sponsorship
116+
117+
You can now sponsor Neovim via [Github Sponsors](https://github.com/sponsors/neovim) or [OpenCollective](https://opencollective.com/neovim).
118+
119+
[BountySource](https://diziet.dreamwidth.org/5938.html) is no longer recommended.
120+
121+
## What's next?
122+
123+
[roadmap](https://neovim.io/roadmap/)
124+
125+
## Thanks
126+

0 commit comments

Comments
 (0)