make completion lexing slightly more reliable
Merge pull request #33 from aavogt/master

make completion lexing slightly more reliable