nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.37k stars 285 forks source link

Illegal character <]> when scrolling on lines that have `]` in class attribute in svelte files. #1461

Open krivahtoo opened 1 month ago

krivahtoo commented 1 month ago

Describe the bug

There an error the constantly popup when I scroll on lines with [ in css class name

2024-06-10_12-42

Steps to reproduce

  1. setup svelte and tailwindcss lsps.
  2. open a svelte file and scroll over lines with ] in class attributes (tailwind style). e.g:
    <div class="... w-[600px] max-w-[90%] flex-col ...">

Expected behavior

There should be no error

Neovim version (nvim -v)

0.10.0

lspsaga commit

343b717

Terminal name/version

st 0.8.4