Analysis updated 2026-05-18
Get one click fixes in Neovim for clang-tidy warnings in a C++ project.
Turn cppcheck diagnostics into applyable code actions instead of manual edits.
Add the plugin as a none-ls source to extend Neovim's built in code action menu.
| gasparvardanyan/diactions.nvim | atcold/torch-torch7-tools | m2zmforever/atlas | |
|---|---|---|---|
| Stars | 10 | 10 | 12 |
| Language | Lua | Lua | Lua |
| Last pushed | — | 2014-05-29 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | developer | researcher | general |
Figures from each repo's GitHub metadata at analysis time.
Requires the none-ls.nvim plugin as a dependency.
diactions.nvim is a small plugin for the Neovim text editor that adds extra code actions based on warnings from linters, tools that scan your code for problems and style issues. Code actions are quick fixes an editor can offer you, like changing a line automatically instead of you typing the fix by hand. The author's problem is that Neovim already gets code actions from language servers, the tools that understand a programming language and offer suggestions as you type. But linters like clang-tidy and cppcheck, which are commonly used for C and C++ code, often flag issues that do not come with a ready made fix from the language server. This plugin closes that gap by turning specific linter warnings into their own custom code actions. Right now the plugin relies on another tool called none-ls to plug into Neovim's code action system, since Neovim's built in support already expects that kind of source. The author explains that in the future this dependency might become optional if support is added for other selection tools, such as fzf-lua, a fuzzy finder plugin. Only a limited set of code actions for clang-tidy and cppcheck are implemented so far, since the author personally works with C++ tools like clang-tidy, cppcheck, and clazy and plans to keep adding more over time. That said, the plugin itself is not limited to C++, and the author is open to it eventually supporting linters and diagnostics from other programming languages too. Setup is simple: you add the plugin as a dependency of none-ls in your Neovim plugin manager, then register its provided source inside your none-ls configuration. The author also notes that contributions from other developers are welcome.
A Neovim plugin that turns C and C++ linter warnings into quick, automatic code fixes.
Mainly Lua. The stack also includes Lua, Neovim, none-ls.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.