Work around issue with trailing newlines in Vim.