lukas-reineke / indent-blankline.nvim

Indent guides for Neovim
MIT License
4.07k stars 102 forks source link

Does not work for CSS & Vue #844

Closed ynhhoJ closed 5 months ago

ynhhoJ commented 6 months ago

Problem

Does not work indent highlight for CSS code.

image

Steps to reproduce

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {}

body {
  .test {
    color: black;
  }
}

Config:

-- lazy
{
  "lukas-reineke/indent-blankline.nvim",
  event = "BufReadPre",
  main = "ibl",
  config = function()
    require("ibl").setup {
      indent = { char = "▏" },
      scope = {
        include = {
          node_type = {
            css = {
              "arguments",
              "block",
              "class_name",
            },
          },
        },
      },
    }
  end,
}

TSModuleInfo: image

Expected behavior

Indent highlight current selected level

Example: image

Neovim version (nvim -v)

v0.10.0-dev-2526+g6525832a8

ynhhoJ commented 6 months ago

It seems that not all languages is supported. I expect same problem with Vue.js

nyngwang commented 5 months ago

I have a similar or severe problem: