When the document is empty and I attempt to autocomplete, I get the error mismatched input '<EOF>' expecting {...} where {...} is a list of keywords that would be what I'd want to autocomplete the first token with. I realize this error comes from the parser layer. Is there a good way to capture the list of keywords instead of (or in addition to) erroring?
I could parse the string error, but that's not ideal
When the document is empty and I attempt to autocomplete, I get the error
mismatched input '<EOF>' expecting {...}
where{...}
is a list of keywords that would be what I'd want to autocomplete the first token with. I realize this error comes from the parser layer. Is there a good way to capture the list of keywords instead of (or in addition to) erroring?I could parse the string error, but that's not ideal