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
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
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