Similar to indent-blankline, this plugin can highlight the indent line, and highlight the code chunk according to the current cursor position. Using profile.nvim for performance analysis, all experiments were conducted on macOS with alacrity, Neovim window height was 66 lines, and the code file was typescript.js, starting from the first line to the five hundredth line. The average rendering time per render was 0.7ms.

Features

  • Asynchronous rendering to reduce stuttering
  • Documentation available
  • Using C functions to speed up some function calls
  • Caching extmarks for each line as much as possible to reduce indentation calculations
  • Using throttle functions to batch the rendering process as much as possible

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow hlchunk.nvim

hlchunk.nvim Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of hlchunk.nvim!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Lua

Related Categories

Lua Browser Extensions and Plugins

Registered

2024-07-26