I'm trying to write a command for adding a Python import line. The problem is that what's added it
import a:name and not the module name.
Here's the code
func! PyImport(name) w silent !isort -q -a a:name % e endfunc comm! -nargs=1 PyImport call PyImport(<f-args>)
I guess I need to someone expand
a:name, couldn't find how to do it.