Don't complete variables when single quoted. Fixes #1023