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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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