sheerun / vim-polyglot

A solid language pack for Vim.
5.59k stars 295 forks source link

nvim crashes when opening a .scss file #856

Open abacha opened 3 months ago

abacha commented 3 months ago

Describe the bug: If you open/create a file and on the top row you declare a variable, it crashes.

To Reproduce:

  1. Create a new file "test.scss"
  2. Type: "$tmp: #FFF;"
smemsh commented 3 months ago

the editor crashes? like, it exits back to the shell? is there anything on stderr?

abacha commented 3 months ago

yes, the editor just crash nothing on stderr

smemsh commented 3 months ago

seems like an nvim bug. editor should not crash no matter what the syntax file has in it.

abacha commented 3 months ago

but if I remove vim-polyglot, it doesn't crash

smemsh commented 3 months ago

That just means vim-polyglot triggers an nvim bug. Nvim should never crash.