shellRaining/hlchunk.nvim

Chunk lines are not cleared after scroll window

ShiChenCong opened this issue · 6 comments

Untitled

config file

  {
    "shellRaining/hlchunk.nvim",
    event = { "BufReadPre", "BufNewFile" },
    config = function()
      require("hlchunk").setup({
        chunk = {
          enable = true,
          style = {
            { fg = "#8c98a3" },
          },
        }
      })
    end
  },

nvim version: 0.10.0

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

broken in less file in dev branch.

It seems to be caused by the lack of a treesitter parser for less.

How to disable plugin for some certain filetypes without using autocmd?

If you simply do not want to see the information of notify, you can set notify = false

https://github.com/shellRaining/hlchunk.nvim/blob/main/docs/en/chunk.md#chunk_example1

if does want to disable, just set:

chunk = {
    enable = true,
    exclude_filetypes = {
        less = true,
    },
},

and notice that should update to the latest version to use this feature 😄

Works like a charm 👍