A Neovim plugin written in Lua for commenting and uncommenting lines, visual selections, and motions.
Kommentary is a Neovim plugin written in Lua that enables developers to quickly comment and uncomment code. It supports commenting for the current line, visual selections, and motions, making it a versatile tool for code editing. The plugin is designed as a drop-in replacement for vim-commentary with additional features like comment level control and language-specific configuration.
Neovim users who need efficient code commenting capabilities, particularly those transitioning from vim-commentary or seeking customizable commenting behavior.
Developers choose Kommentary for its Lua-based implementation, seamless integration with Neovim, and extensive configurability, including support for custom comment strings and consistent indentation.
Neovim commenting plugin, written in lua.
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 identical default keybindings like gcc and gc, making it a drop-in replacement for vim-commentary users, as stated in the README under default keybindings.
Written in Lua for Neovim, it offers extensive customization through functions like configure_language, allowing language-specific comment strings and preferences, as shown in configuration examples.
Supports increasing or decreasing comment levels for lines, visual selections, or motions via extended mappings (e.g., <leader>cic), adding flexibility not found in vim-commentary, detailed in the keybindings section.
Automatically aligns comment prefixes when using single-line comments, improving code readability, as explained in the use_consistent_indentation option under configuration.
The author explicitly states no new features will be added and the codebase is flawed, with outdated documentation and minimal unit tests, limiting future enhancements and bug fixes.
Lacks features available in alternatives like Comment.nvim, such as dot repeat support and partial line commenting, as acknowledged in the README's note section.
The plugin has structural flaws and inadequate testing, making contributions and reliable long-term use challenging, as admitted by the author in the note.