Set nojoinspaces option.

Set nojoinspaces option to avoid having two spaces after a punctuation mark
when joining lines.
Set omnifunc to syntaxcomplete.