Adds local variables to the completion list