IntelliJ-EmmyLua icon indicating copy to clipboard operation
IntelliJ-EmmyLua copied to clipboard

@language injection does not support language names with spaces in the name

Open varon opened this issue 3 years ago • 0 comments

lang-fail

Language injection does not parse languages correctly with a space in the name. This makes it impossible to inject Shell Script into a string in EmmyLua, which would help a lot to have!

I have tried the following workarounds:

--- @language 'Shell Script'
--- @language "Shell Script"
--- @language [Shell Script]

They do not work and throw parse errors.

Any other comments?(其它说明)

This is hugely important - I'd be happy to donate to the project to get this sorted out if you guys are accepting bug bounties!

is there a workaround for this?

varon avatar Feb 28 '22 19:02 varon