When an array of strings is given as the default keyword argument to a function, the vscode extension here is coloring the rest of the file as a string.
1 string in the array is working fine
2 or more strings throws this off. Now the rest of the file is colored to look like a string. This is the unexpected behavior this ticket concerns with.
Using %w for literal words works as you'd expect.
(I'm not sure if this is an issue for this repository or the actual language server, but I assume you can move it as appropriate.)
When an array of strings is given as the default keyword argument to a function, the vscode extension here is coloring the rest of the file as a string.
1 string in the array is working fine
2 or more strings throws this off. Now the rest of the file is colored to look like a string. This is the unexpected behavior this ticket concerns with.
Using
%w
for literal words works as you'd expect.(I'm not sure if this is an issue for this repository or the actual language server, but I assume you can move it as appropriate.)
I'm using version
0.24.0
.