vscode-twig-language-2 icon indicating copy to clipboard operation
vscode-twig-language-2 copied to clipboard

Twig default filter highlighting

Open ben-rogerson opened this issue 7 years ago • 4 comments

When the default filter has no parenthesis (defaults to null) then the syntax highlighting doesn't work.

# Nice syntax highlighting
blah|default()
# No syntax highlighting
blah|default

ben-rogerson avatar Jul 18 '18 07:07 ben-rogerson

Hey @ben-rogerson, I have just pushed an update to Twig Language 2 with a brand new formatter using Prettydiff 3 which brings about some major bug fixes. I'm not sure how to recreate this bug as seems to working correctly on my system with blah being coloured, however, I will look into it further for you. Sorry about the snail's pace development speeds but hopefully these updates have fixed some of your other problems.

mblode avatar Dec 30 '18 16:12 mblode

Thanks for the reply @mblode, I'll be trying out the new version shortly 👍

ben-rogerson avatar Jan 03 '19 22:01 ben-rogerson

Stale issue message

github-actions[bot] avatar Aug 25 '19 23:08 github-actions[bot]

Hey Matt, I updated and I don't think this was changed. Version 0.8.10

You can see here that the same highlighting issue is present:

{{ blah|default }}
{{ blah|default() }}

ben-rogerson avatar Aug 26 '19 21:08 ben-rogerson