GitHub - 0xdeadf1sh/AssemblyForNeovim: Small lua script that shows inline assembly in neovim (x64, aarch64) for C, C++, and Rust.

GitHub

1 min read Original article ↗

Latest commit

Folders and files

Shows the assembly for C, C++ and Rust code in a floating window.

2026-10-09.14-16-45.mp4

Install

lazy.nvim:

{
	"0xdeadf1sh/AssemblyForNeovim",
	config = function()
		require("asm").setup()
	end,
}

Use

  • <leader>a in normal mode: function under the cursor
  • <leader>a in visual mode, or :'<,'>Asm: selected lines
  • In the window: +/- change -O level, R reruns, q closes

Needs cc/c++ or rustc/cargo on PATH. Uses compile_commands.json if it finds one.

About

Small lua script that shows inline assembly in neovim (x64, aarch64) for C, C++, and Rust.

Resources

Readme

Unlicense

Stars

107 stars

Watchers

0 watching

Forks

7 forks

Releases

Packages

Contributors

Languages