Skip to content

Commit

Permalink
Fix 31
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorQvarfordt committed Aug 27, 2016
1 parent 0d926fd commit c65f4e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Julia.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ contexts:
scope: keyword.operator.assignment.julia
set:
- meta_scope: meta.function.parameters.default-value.julia
- match: '(?=[,)])'
- match: '(?=[,;)])'
set: function-parameters
- include: expressions
- include: type-annotation
Expand Down
10 changes: 10 additions & 0 deletions syntax_test_julia.jl
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,16 @@
# ^ keyword.operator
# ^ variable.other

# (issue 31)
f(x::A=5; z) = ...
# ^ entity.name.function
# ^ variable.parameter
# ^^ keyword.operator
# ^ support.type
# ^ keyword.operator
# ^ constant.numeric
# ^ variable.parameter


##
## MACROS
Expand Down

0 comments on commit c65f4e0

Please sign in to comment.