Neovim Plugins and Configuration Recipes | 4

alpha2phi
5 min readOct 22, 2023

Series to explore Neovim plugins and configuration recipes.

Neovim Plugins and Configuration Recipes | 4

This article is part of the Neovim Plugins and Configuration Recipes series.

The Neovim configuration files are available in this repository.

Plugins

Plugins that are selected for this article!

compiler-explorer.nvim

This is an interesting plugin. compiler.explorer.nvim compiles our code to assembly code from Neovim using the compiler-explorer REST API.

It features:

  • Compile code asynchronously using vim.loop.
  • Select the compiler interactively using vim.ui.select or passing it as a Vim command parameter.
  • Compile visual selections.
  • Send compiler warnings and errors to the quickfix list.
  • Highlight matching lines between source code and assembly.
  • Show binary output (opcodes and address) using virtual text.
  • Format code.
  • Add libraries.
  • Show tooltips about specific instructions.
  • Jump to label definitions.
  • Load example code.
  • Open the website…

--

--