Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add custom escaper for python

Somehow the python REPL loses the newline information when pasting.
Convert them to the CRLF character before sending.
  • Loading branch information...
commit ffb3c4e72b1e37cbf45a544c62b7e70d91479ee1 1 parent ab3c5bc
@caio caio authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  ftplugin/python/slime.vim
View
3  ftplugin/python/slime.vim
@@ -0,0 +1,3 @@
+function! _EscapeText_python(text)
+ return substitute(a:text, "\n", "
+", "g")
Please sign in to comment.
Something went wrong with that request. Please try again.