1. tomas curbina
  2. vimclojure

Commits

Meikel Brandmeyer  committed e5a6edb

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

Fixes #93

  • Participants
  • Parent commits 1cb65c1
  • Branches default

Comments (0)

Files changed (1)

File vim/autoload/vimclojure.vim

View file
  • Ignore whitespace
 	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)