Commits

Meikel Brandmeyer committed 42e2ba5

Just insert newline on empty prompt (reported by A. Bonnaire-Sergeant)

Comments (0)

Files changed (1)

vim/autoload/vimclojure.vim

 	let cmd = self.getCommand()
 
 	" Special Case: Showed prompt (or user just hit enter).
-	if cmd == ""
+	if cmd =~ '^\(\s\|\n\)*$'
+		execute "normal! a\<CR>"
+		startinsert!
 		return
 	endif