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
Name of the lexer velocity.rb
Code sample A diff to apply to spec/visual/samples/velocity to expose this issue whilst running bundle exec rake
bundle exec rake
diff --git a/spec/visual/samples/velocity b/spec/visual/samples/velocity index 644a677d..2ebc45ad 100644 --- a/spec/visual/samples/velocity +++ b/spec/visual/samples/velocity @@ -25,4 +25,4 @@ ${customer.Address} ${purchase.getTotal(true)} $title.set( "Homage to Catalonia" ) - +#set( $result = $foo($bar[$baz]) )
Additional context
Looks like this issue is caused by the use of [ within nested parenthesis. The smallest possible snippet that will reproduce the issue is #set(([])).
[
#set(([]))
Looks like this is a result of this rule using push! instead of push:
push!
push
rouge/lib/rouge/lexers/velocity.rb
Line 66 in 128abf0
I have identified that a similar issue MAY be present in ceylon.rb
ceylon.rb
rouge/lib/rouge/lexers/ceylon.rb
Line 90 in 1af45d5
The text was updated successfully, but these errors were encountered:
PR to fix velocity lexer here: #1605
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Name of the lexer
velocity.rb
Code sample
A diff to apply to spec/visual/samples/velocity to expose this issue whilst running
bundle exec rake
Additional context
Looks like this issue is caused by the use of
[
within nested parenthesis.The smallest possible snippet that will reproduce the issue is
#set(([]))
.Looks like this is a result of this rule using
push!
instead ofpush
:rouge/lib/rouge/lexers/velocity.rb
Line 66 in 128abf0
Further work
I have identified that a similar issue MAY be present in
ceylon.rb
rouge/lib/rouge/lexers/ceylon.rb
Line 90 in 1af45d5
The text was updated successfully, but these errors were encountered: