Skip to content

get config like README #32

Closed Answered by shellRaining
NormTurtle asked this question in Q&A
Discussion options

You must be logged in to vote

you can get the detail config info by click the picture in README, you will jump to another docs about this mod, but maybe it is outdated, I will fix this when have time~

if you want to config like the first picture, you can write like this

require("hlchunk").setup({
  indent = {
      enable = true,
      use_treesitter = false,
      chars = {
          " ",
      },
      style = {
          { bg = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID("Whitespace")), "fg", "gui") },
      },
      exclude_filetype = exclude_ft,
  }
})

the second like this

blank = {
    enable = true,
    chars = {
        " ",
    },
    style = {
        { bg = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID("c…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@shellRaining
Comment options

Answer selected by shellRaining
Comment options

You must be logged in to vote
2 replies
@NormTurtle
Comment options

@shellRaining
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants