Commits

Meikel Brandmeyer committed e5a6edb

Send only exact block to backend server (reported by Perry Trolard)

Fixes #93

Comments (0)

Files changed (1)

vim/autoload/vimclojure.vim

 	let file = vimclojure#BufferName()
 	let ns = b:vimclojure_namespace
 
-	let content = getbufline(bufnr("%"), line("'<"), line("'>"))
+	let content = vimclojure#util#Yank("l", 'normal! gv"ly')
 	let result = vimclojure#ExecuteNailWithInput("Repl", content,
 				\ "-r", "-n", ns, "-f", file, "-l", line("'<") - 1)