Neovim 0.10 arrives with a new color palette, LSP mappings, vim-commentary and more

NeoVim themes

It became known the release of Neovim 0.10, the fork of the Vim editor focused on increasing extensibility and flexibility. In this new version, a large number of changes and improvements have been included, among which the new default color scheme, the suggestions in LSP, updated keybinds, built-in plugin functionality vim-commentary, among other things.

For those who are not familiar with Neovim, you should know that This project arose from the Vim code base, which has been reviewed for more than seven years. Neovim has implemented significant changes to simplify code maintenance, allow the division of work between multiple maintainers, and separate the interface from the base part. This separation allows the interface to be changed without touching the internal components and has allowed the implementation of an extensible plugin-based architecture.

Main news of Neovim 0.10

Neovim version 0.10 has arrived with a new default color palette, which reduces glare, uses more balanced color combinations and addresses problems for people with deviations in color vision, in addition to solves accessibility and aesthetic problems present in the previous palette. Discover how this new color selection improves the experience of using Neovim in various situations, including its use as a difference viewer.

Another change that stands out is the new default mappings to facilitate interaction with the Language Server Protocol (LSP) and navigation between diagnostics in the editor. Hints are displayed in the code as virtual text in a different color. These mappings are designed to streamline workflow by utilizing key features of the LSP, such as displaying information about functions or variables and navigating between issues detected in the code.

In addition to that, Neovim 0.10 includes “vim-commentary” functionality which allows you to comment and uncomment text natively, with a Lua implementation that offers additional advantages by supporting Tree-sitter. New functionality allows you to quickly frame lines and blocks of code with comment characters. For example, for content within tags <script>, the characters “//” will be used, and for HTML, “ ».

On the other hand, for developers who use tree sitter for syntactic analysis Neovim 0.10 offers additional tools for working with Tree-sitter queries. The inclusion of a query editor makes it easy to write and tune queries interactively, improving efficiency when working with complex structures and patterns in source code.

We can also find that the new version brings with it significant improvements in terminal-based capabilities, including output synchronization to reduce the flicker effect on rapid interface updates. Additionally, the system's clipboard sync capability allows for smoother integration with other applications and workflows.

Of the other changes that stand out:

  • Updated key bindings
  • A synchronized output mode has been enabled where interface updates are accumulated and displayed on the terminal in a single chunk to eliminate flickering and screen tearing.
  • Now used to write to the system clipboard if you are working in an SSH session and have a terminal emulator that supports "OSC 52".
  • The OSC 8 escape sequence is used to highlight links in Markdown documents formatted as "example".
  •  Added an interactive mode to write queries in the syntax tree and apply them on the fly to current code.
  • Modifiers can be specified to open a new terminal window at specific locations on the screen, such as ":botright terminal" to open at the bottom right.

Finally, if you are interested in knowing more about it, you can consult the details In the following link.

How to install NeoVim?

If you are interested in being able to try Neovim, you should know that is within the majority from the repositories of the most popular distributions and the installation can be done by running a simple command.

En Debian, Ubuntu and derivatives You can install the new package by executing the command in the terminal:

sudo apt install neovim


		

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.