|
1 | 1 | ---
|
2 | 2 | layout: newsletter
|
3 |
| -title: "Neovim News #12 - The Work Continues" |
| 3 | +title: "Neovim: The Work Continues" |
4 | 4 | category: newsletter
|
5 | 5 | permalink: /news/2021/09
|
6 | 6 | ---
|
7 | 7 |
|
8 |
| -> The Citadel stripped me of it. They found some of my... experiments... too bold. |
9 |
| -> |
| 8 | +> The Citadel found some of my... experiments... too bold. |
10 | 9 | > —Qyburn
|
11 | 10 |
|
12 |
| -Nvim 0.5.1 has been released, it includes many fixes and some breaking changes: |
| 11 | +Nvim 0.5.1 has been released, it includes many fixes and some **breaking changes**: |
13 | 12 |
|
14 |
| -- ... |
15 |
| -- ... |
| 13 | +- changed LSP handler signature: https://github.com/neovim/neovim/pull/15504 |
| 14 | +- renamed `vim.register_keystroke_callback` => `vim.on_key` |
| 15 | + |
| 16 | +These breaking changes are part of the 0.5.1 maintenance release to avoid delay while we develop 0.6. |
16 | 17 |
|
17 | 18 | ## Velocity
|
18 | 19 |
|
19 |
| -Lua-first development is now a central practice in the Neovim project. |
| 20 | +Lua-first is now a central practice in the Neovim project. |
20 | 21 |
|
21 | 22 | We started with everything tucked into `vim.lsp`. The community began heavily
|
22 | 23 | building on `vim.lsp.diagnostic`, it became clear that this "diagnostic"
|
@@ -65,21 +66,25 @@ Work on [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) pa
|
65 | 66 |
|
66 | 67 | 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 XXX and XXX.
|
67 | 68 |
|
68 |
| -## Defaults |
| 69 | +## Unreleased (master branch) |
| 70 | + |
| 71 | +### Virtual lines ("ghost text") |
| 72 | + |
| 73 | +- "ghost text" (virtual lines) https://github.com/neovim/neovim/pull/15351 |
| 74 | + |
| 75 | +### Defaults |
69 | 76 |
|
70 |
| -Nvim `master` branch has implemented a new [batch of improvements](https://github.com/neovim/neovim/issues/6289) to the [editor defaults](https://neovim.io/doc/user/vim_diff.html#nvim-defaults). |
| 77 | +Nvim `master` branch has implemented a big [batch of improvements](https://github.com/neovim/neovim/issues/6289) to the [editor defaults](https://neovim.io/doc/user/vim_diff.html#nvim-defaults), including: |
| 78 | + |
| 79 | +- ['backupdir'](https://neovim.io/doc/user/options.html#'backupdir') now [auto-creates its directory](https://github.com/neovim/neovim/pull/15433), as the 'undodir' and 'directory' (swapfile) options already do |
| 80 | +- `CTRL-L` is mapped to also clear "/" search highlighting |
| 81 | +- ['inccommand'](https://neovim.io/doc/user/options.html#'inccommand') (live preview of the `:substitute` command) is enabled by default |
| 82 | +- `Y` is [mapped](https://github.com/neovim/neovim/pull/13268) to behave like `D` and `C` 🙀 |
71 | 83 |
|
72 | 84 | Having now established patterns for "default autocommands" and "default
|
73 | 85 | mappings", we will use this mechanism liberally to make quality-of-life
|
74 | 86 | improvements to `nvim -u NONE` without breaking scripts.
|
75 | 87 |
|
76 |
| -Notable changes are: |
77 |
| - |
78 |
| -- the 'backupdir' option now [auto-creates its directory](https://github.com/neovim/neovim/pull/15433), as the 'undodir' and 'directory' (swapfile) options already do |
79 |
| -- `<C-L>` has a default mapping which clears `/` search highlighting |
80 |
| -- 'inccommand' (live preview of the `:substitute` command) is enabled by default |
81 |
| -- `Y` has a [default mapping](https://github.com/neovim/neovim/pull/13268) so that it behaves like `D` and `C` 🙀 |
82 |
| - |
83 | 88 | ## Feedback loop
|
84 | 89 |
|
85 | 90 | 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.
|
|
0 commit comments