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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try 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