Neovim Core updates
Updates of Neovim itself, which are available on Neovim nightly.
Important: if you are a plugin author, you are strongly advised to follow the #14090 breaking changes on master GitHub thread, as it contains important breaking changes information.
filetype.vimin favor of the now default filetype.lua.
(If you install from the repo, make sure to clean out
/usr/local/share/nvim/runtime beforemake install.) The filetype detection logic and tests still align with Vim, so additions or changes still need to be contributed there first and then ported to Neovim.
Neovim Plugin Community updates
Neovim is full of active plugins. This section is about the community and what is going on.
This is a journey into creating your own “minimap” using tree-sitter queries regular Vim regexes.
A video introduction to leap.nvim by Code to The Moon. The
video explains what is the plugin, its relationship to
sneak, what you can do with it, etc. It
doesn’t go over the EasyMotion based plugins (such as
Hop), so if you are looking for a comparison, that is not the right video.
Still a good watch if you are interested in sneak based motions.
@mrded made a plugin to locate a file and run a command on it. It uses Telescope behind the scene to locate the file.
A dark theme using 256-xterm colors and pure, pitch black background that even Riddick would like. By @bratpeki.
A pretty exciting plugin: it allows to use
Telescope in a specified directory. First target is probably people working
in big monorepositories (eh, that’s my case at work!). Really nice addition to the ecosystem, @princejoogie!
Eh, @gorbit99 made a new minimap plugin! It is closely integrated with tree-sitter and the builtin LSP to display more information to the user.
A plugin to remotely interact with Neovim buffers. Termitary hooks into whatever kind of floating terminal buffer plugin or native terminal buffer you want to use and provides the ability to manipulate it without switching back and forth to and from it. By @nat-418.
reveal.nvim is a very experimental plugin that lets users use
vifm inside Neovim through
vifm’s lua API.
A new plugin by @LukasPietzschmann allowing you to quickly switch between your open tabs, along with other operations you can do with tabs.
Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
The plugin received a couple of changes lately. The list is long, so you can see by yourself here for the details. Here’s a TL;DR:
- An update view was added.
- Command formatters are now sexy like never!
- Confirm dialogs with button-like inputs.
- Telescope theming integration.
- Scrollbars and matched text for popups.
AstroNvim is an æsthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
The plugin received significant changes lately, among several breaking changes. Changelog excerpt for the v2.4:
- Now uses Mason.
:AstroReloadfor live reloading of the configuration and new changes to your user configuration without needing to restart.
- New UI menu for toggling quick settings with
<leader> + u
highlights.inittable to add custom highlight groups that get applied to all color schemes.
- Heirline support.
- Winbar is added to display LSP breadcrumbs.
:AstroChangeLogcan be used for viewing the changelog.
- Clickable status line components
Nice update, then!
Search based navigation combined with quick jump features.
The plugin received a wide variety of features and fixes.
This week, I (@phaazon) wants to bring the attention of every plugin authors to an important matter. I have seen numerous times plugins hosting the demo screenshots, gifs and videos of their contents directly in the Git index. Do not do that. I repeat, do not do that! A typical Neovim plugin repository is basically a bunch of Lua files, and even big projects should rarely exceed 1 MB of disk usage (text is light and the Git history compressed). But a single (one!), high-resolution screenshot, can sit between 10 MB to 100 MB, completely ruining your repository. People installing your plugin will have to download that screenshot for nothing.
You can drag and drop your image in any GitHub project New Issue input to get a permalink to host your media files. Use it!
You have noticed something missing that you saw lately? Do not keep the candies for yourself and please feel free to share with us! You can open a PR at This Week In Neovim Contents.
Feel free to read how to contribute to get started.