Skip to content
Advertisement

How to pass arguments from vimscript functions to python interface?

For example, processing positional arguments:

JavaScript

or the … list:

JavaScript

Is there anyway I can do this?

Advertisement

Answer

You can retrieve the function arguments just like any other Vimscript expression through vim.eval():

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement