Am Fr., 10. Feb. 2023 um 00:09 Uhr schrieb Gary Johnson :
> On 2023-02-09, 'Sebastian Gödecke' via vim_use wrote:
> > Hi Gary, yes you're right, my explanation wasn't as good as it had to
> be.
> > I'm "trying" to use vim_runtime from here:
> > https://github.com/amix/vimrc
> > so this adds the
On Thu, Feb 09, 2023 at 11:50:19AM -0800, N i c o l a s wrote:
> Following vim's python help,
>
> "To pass arguments you need to set sys.argv[] explicitly. Example: >
>
> :python sys.argv = ["foo", "bar"]
> :pyfile myscript.py
> "
That is not a very good example, since sys.argv[0]
> Following vim's python help,
>
>
> *"To pass arguments you need to set sys.argv[] explicitly. Example: > *
> :python sys.argv = ["foo", "bar"]
> :pyfile myscript.py
> *"*
>
>
> I tried to pass argues to python file as this
>
> export def PyLinter(): void
> py3 import sys
>