jpalardy/vim-slime — pull request #7 by caio (2011-11-28 11:52:00+00:00)
Title: Add support for calling custom functions during escape

With this patchset, the _EscapeText function now calls _EscapeText_&filetype before sending the data to screen/tmux. This can be used to wrap the data with instructions to a interpreter, or precompiling the selected text to an intermediary format, or whatever.

An example escaper for the python &filetype which does nothing to the given data:

```vim
function! _EscapeText_python(text)
return a:text
endfunction
```