-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blows up with CSS Grid Layout #36
Comments
Looking at this a bit more, I'm not sure exactly what is causing it to blow up but it seems very likely related to grid; I suspect the css parser hasn't been updated to support it. |
i don't know if this is included in "named grid line" but this make it blow up too :
i hope it can be fixed soon :) |
I tried to put my statement in an <style> element directly in the index.html and it works, but not in the .css. |
@mirsella your issue isn't related to grid but what both probably have in common is that they're newer CSS additions. It looks like bracey and the css parser library were mostly built prior to 2015, so it's not surprising that new CSS features are causing issues. One way to fix the issue might be to swap out the current css parser (looks dead) for https://github.com/postcss/postcss. |
i've found this project which will replace bracey for me. can even be install as vim module with Plug etc pretty easily. I know you deleted it from your comments, but what the live reloading feature modern framework have ? like vuejs reactjs etc can have live reload which reload the whole html file so with support for CSS js etc ? |
@mirsella I replaced the css parser with
You can try using the branch |
waw gg. when you mentioned that it was the css parser not up to date, I tried to fork it with another one but didn't understand the code. the logic was overwhelming, I'll go look our fork :) |
reopening, since linting also needs to be fixed to handle modern css. |
When the CSS file contains named grid lines, the following stack trace occurs:
named grid line syntax:
It looks like this is probably a bug with the css parser dependency:
bracey.vim/server/cssfile.js
Line 59 in e47352a
The text was updated successfully, but these errors were encountered: