I got it working with custom \'@\' tokenizer. But it fails for the first autocompletion. My code works as a comma tokenizer where I get suggestion for any character and next
https://github.com/linkedin/Spyglass check this out , having all the use cases for mentions