Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge remote-tracking branch 'epeli/python'

  • Loading branch information...
commit df172a77a119cc8b7e9b5a3f56d86a361802ecb6 2 parents 8ea69b0 + 93970d0
Jonathan Palardy authored April 16, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  ftplugin/python/slime.vim
3  ftplugin/python/slime.vim
... ...
@@ -1,3 +1,4 @@
1 1
 function! _EscapeText_python(text)
2  
-  return substitute(a:text, "\n", "
", "g")
  2
+  let no_empty_lines = substitute(a:text, '\n\s*\ze\n', "", "g")
  3
+  return substitute(no_empty_lines, "\n", "
", "g")
3 4
 endfunction

0 notes on commit df172a7

Please sign in to comment.
Something went wrong with that request. Please try again.