Skip to content

Strange behavior with @use and the "scss css-lcurlyexpected" rule #40

Description

@eliduke

Hey y'all! I'm new here, trying to figure some stuff out with Zed and LSPs and all that jazz.

Currently I have just the "scss-lsp" running with this bit of settings config...

Image

The server is indeed up and running all is well there.

Next up, I am importing all of bootstrap scss into my custom app.scss, so that I can do bunch of @extends into some root level HTML elements. Such as...

Image

That code is executing perfectly, bootstrap is being imported successfully with @use, the <button> is rendering as expected with those styles, and all is well on that side of things. So, it's a bit of a strange inline error. I checked the Diagnostics, and I'm seeing...

Image

Interesting. Unfortunately, the google juice for that that specific error ("css-lcurlyexpected") doesn't return much. I understand the basics, like, it's telling me that it is expecting an open curly bracket "{" somewhere on that line, but nothing seems to help...

Brackets around the path...
Image

Brackets around the whole line...
Image

Anyone got any ideas?! Thanks!

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