Re: vim_runtime: does someone use this...

2023-02-10 Thread 'Sebastian Gödecke' via vim_use
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

Re: Passing python3 file arguments seems failing py3f

2023-02-10 Thread Marius Gedminas
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]

Re: Passing python3 file arguments seems failing py3f

2023-02-10 Thread Bram Moolenaar
> 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 >