Commits

Meikel Brandmeyer committed 6ce9893

Add shell error code to failure message

Fixes #57

Comments (0)

Files changed (1)

vim/autoload/vimclojure.vim

 		let output = system(cmd)
 
 		if v:shell_error
-			throw "Couldn't execute Nail!\n" . output
+			throw "Error executing Nail! (" . v:shell_error . ")\n" . output
 		endif
 	finally
 		call delete(inputfile)