A Neovim plugin written in Lua that highlights indent lines and the current code chunk based on cursor position.
hlchunk.nvim is a Neovim plugin that highlights indentation lines and the current code chunk based on the cursor's position. It helps developers quickly visualize code structure and context, improving readability and navigation within files. The plugin is built with performance in mind, using optimizations to minimize rendering time and prevent stuttering.
Neovim users who work with codebases requiring clear visual indentation and block context, particularly those sensitive to performance or experiencing lag with similar plugins.
Developers choose hlchunk.nvim for its low-latency rendering, modular design allowing fine-grained control over features, and its focus on providing a smooth, customizable visual aid without impacting editor responsiveness.
This is the lua implementation of nvim-hlchunk, you can use this neovim plugin to highlight your indent line and the current chunk (context) your cursor stayed
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Achieves an average render time of 0.7ms through asynchronous rendering, C function calls, and caching, ensuring smooth scrolling without lag, as detailed in the performance analysis.
Composed of four independent mods (chunk, indent, line_num, blank) that can be individually enabled and configured, allowing users to tailor features to their workflow without bloat.
Visually emphasizes the current code block around the cursor, improving navigation and code structure awareness, which is a unique feature compared to basic indent highlighters.
Offers indent line highlighting, line number styling, and blank space highlighting in one plugin, enhancing readability across multiple aspects of code editing.
Relies on the shiftwidth setting, which can be inaccurate for files without explicit indent configurations, requiring manual setup or additional plugins like guess-indent.nvim for auto-detection.
Configuration details are split across multiple documentation pages for each mod, increasing setup complexity and time compared to plugins with unified docs.
Only works with Neovim version 0.10.0 or higher, excluding users on older versions or other editors like Vim, which restricts its audience.