Skip to content

Line_num not working with html file, css #160

Description

@mcp1766

Have configurate the plugin. Works well with lua codes but not with html file

return {
  "shellRaining/hlchunk.nvim",
  event = { "BufReadPre", "BufNewFile" },
  config = function()
    local default_conf = {
      style = {
        hibiscus = "#806d9c",
      },
    },
  
  require("hlchunk").setup({

    line_num = {
      enable = true,
    },
    indent = {
      enable = false,
    },
    chunk = {
      enable = true,
    },
    blank = {
      enable = false,
    },
  })
  end,
}

Seems that line_num only works when detecting {} signs but not other like <>.

Capture d’écran du 2025-01-04 07-02-10

In the above picture I added in comment some curly braces and it works. Maybe will be good to add some more signs .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions