Use strings and comments for autocomplete
Use syntax files for completion
Autoclose preview window