Is it possible to improve ruby-ts-mode to handle these cases?