Closed vincekd closed 7 years ago
so I'm not sure if this is the best way to do this, but I folded all variable highlighting into a single function that works correctly even in some edge cases:
def (a, b, c) = list
List<Map<String, Object>> foo
if ((s = getS()) {
[:].each { String key, def val ->
Also added a bunch of unit tests for highlighting variables.
highlight variable declarations and assignments
[fix #85]