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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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