A Neovim commenting plugin written in Lua that supports operators, motions, and over 60 languages.
commented.nvim is a Neovim plugin written in Lua that provides advanced commenting and uncommenting functionality for code. It supports operators, motions, and counts, handling over 60 programming languages with accurate comment symbols. The plugin solves the need for a reliable commenting tool that works in normal and visual modes while integrating with other Neovim plugins.
Neovim users, particularly developers who frequently comment code and want a fast, configurable plugin with support for multiple languages and comment patterns.
Developers choose commented.nvim for its accuracy in handling diverse comment formats, support for counts and motions, and seamless integration with plugins like nvim-ts-context-commentstring, offering a more flexible alternative to existing commenting plugins.
Neovim commenting plugin in Lua. Support operator, motions and more than 60 languages! :fire:
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides sensible comment symbols for over 60 languages and correctly handles both inline and block comments, as shown in demos for various comment patterns.
Accepts counts in normal mode for precise commenting operations like 2<leader>c2j, addressing a gap noted in plugins like kommentary and nvim-comment.
Seamlessly integrates with plugins like nvim-ts-context-commentstring via fast hooks, avoiding reliance on updatetime for dynamic commentstring changes.
Enables toggling comments with predefined tags like TODO or FIXME and allows custom tag creation, enhancing code annotation workflows without extra plugins.
No default keybindings for codetags, requiring users to set up mappings manually in setup or with vim.api.nvim_set_keymap, which can be tedious for quick adoption.
For unsupported languages, users must contribute definitions, as admitted in the README's 'Doesn't work for the language I use' section, potentially delaying support for niche cases.
Built specifically for Neovim's Lua API and ecosystem, so it's not portable to other editors or standalone use, limiting flexibility for multi-editor workflows.