shellRaining / hlchunk.nvim

This is the lua implementation of nvim-hlchunk, you can use this neovim plugin to highlight your indent line and the current chunk (context) your cursor stayed
MIT License
472 stars 29 forks source link

Commands to enable/disable line_num aren't being created even though module is enabled in config #103

Closed sjclayton closed 2 months ago

sjclayton commented 2 months ago

Describe the bug

line_num module enable / disable cmd's not being created even though module is enabled in configuration.

To Reproduce Steps to reproduce the behavior:

  1. Enable line_num module in hlchunk.nvim configuration (line number highlights show up as intended).
  2. Try to disable hlchunk line number highlight with :DisableHLline_num or :DisableHLLineNum.
  3. Neither command is present, confirmed by autocomplete. The commands for the other two modules I have enabled show up and work (chunk and ident).

Expected behavior

Line number highlights are enabled / disabled using the defined commands.

Additional information

I'm running Neovim 0.10

shellRaining commented 2 months ago

yes, EnableHLline_num is an invalid usercmd name, I will fix this

shellRaining commented 2 months ago

fixed in dev branch,temporarily close this issue. And dev has many new feature (like animation for chunk), I will merge when it is stable