Using Python interpolation in UltiSnips snippets

Share:

Listens: 0

Vimcasts

Technology


UltiSnips can execute Python code and interpolate the result into a snippet. This makes it possible to create snippets that react to the text entered in each field. We’ll look at an example that performs a simple calculation and inserts the result into our document.