We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I cannot see any highlight if I write some JavaScript inside my pug files, for example
- var test = 'test';
Or
- var obj = { a:1, b:2 }
Is such a feature not implemented yet? Thank you.
The text was updated successfully, but these errors were encountered:
It looks like this is something that I never implemented but is actually older syntax.
Sorry, something went wrong.
I think the one-line version of - used to work at some point, but got lost somewhere.
-
Here's my patch for multiline -:
syn region pugJavascriptBlock start="^\z(\s*\)-\s*$" end="^\%(\z1\s\|\s*$\)\@!" contains=@htmlJavascript
I'm fiddling in the dark as I can't be bothered to read :help syntax, but here's my temporary patch for oneliners:
:help syntax
syntax region pugJavascriptLine start=/^\s*-/ end=/$/ contains=@htmlJavascript
No branches or pull requests
I cannot see any highlight if I write some JavaScript inside my pug files, for example
Or
Is such a feature not implemented yet?
Thank you.
The text was updated successfully, but these errors were encountered: