-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
No syntax highlighting within <style> tag #135
Comments
I am also having this issue. If you remove everything from the <style> tag, then it highlights as expected, but this is not an ideal solution. |
Same here :( tried to figure out if I had something else messing it up but I'm still stuck. |
I got the same issue, but syntax highlight works correctly within |
something with This tags causing errors in my case, when im adding "-" in updated let html_no_rendering=1 |
Having this problem as well. For some files it works and for some it does not. E.g. in a from-scratch vue-cli project, the CSS in EDIT: The |
@estan this might be due to your separated tags, the
|
It looks like this is an issue in the default HTML syntax highlighting. I've installed |
This seems to only happen when you have self closed tags that render text within them differently (like <i> and <b>) as the closing tag isn't found. Could probably fix it while keeping the rendering by changing how these regions are defined https://github.com/vim/vim/blob/master/runtime/syntax/html.vim#L159 |
Vim version:
VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 11 2019 17:46:54)
Plugin version: ?
Issue
I currently have no syntax highlighting being shown within the
<style>
tags of my vue file, the filetype is set correctly and HTML and JS are highlighted correctly but SCSS highlighting is currently missing. I have triedsyntax sync fromstart
and changingscoped
andlang=""
to various values and nothing seems to change this. Is there something within the SCSS itself causing this?The text was updated successfully, but these errors were encountered: