You are right. The variable names in the above example should be without
quotes MyFunction(variable1, variable2) .
In my functions, they are without quotes.
On Wednesday, December 6, 2023 at 1:14:04 AM UTC+1 Salman Halim wrote:
> I might be nitpicking, but why are the function parameters in
I might be nitpicking, but why are the function parameters in the function
definition in quotes?
Salman
On Tue, Dec 5, 2023, 17:14 Christian Brabandt wrote:
>
> On Di, 05 Dez 2023, rameo wrote:
>
> > I installed vim 9 but still have multiple functions written in old
> vimscript.
> >
> > I've
No message.
I noticed that the values are no longer correct. I am using the same
function more and the values are not refreshed. Old values are kept.
I can't remember exactly when it stopped working. I noticed it today.
I just tested with this:
variable1 = str(vim.bindeval("a:variable1"))
On Di, 05 Dez 2023, rameo wrote:
> I installed vim 9 but still have multiple functions written in old vimscript.
>
> I've read that functions written in old vimscript still work.
>
> However I noticed that importing variables into Python
> `vim.eval("a:myvariable")` no longer works
>
> I
I installed vim 9 but still have multiple functions written in old
vimscript.
I've read that functions written in old vimscript still work.
However I noticed that importing variables into Python
`vim.eval("a:myvariable")` no longer works
I don't always get the right values imported.
在 2018年7月2日星期一 UTC+8下午9:54:21,Yongwei Wu写道:
> I am using MacVim with Homebrew. Homebrew's Python version is now 3.7, and
> executing simply `pyx print('Hello')` gives me a warning message:
>
> the imp module is deprecated in favour of importlib …
>
>
> I guess this should not be specific to
I am using MacVim with Homebrew. Homebrew's Python version is now 3.7, and
executing simply `pyx print('Hello')` gives me a warning message:
the imp module is deprecated in favour of importlib …
I guess this should not be specific to MacVim? Any chances to get it fixed
upstream?
Best
I'm not sure if this is a vim issue or a python 3.7 issue.
I have compiled both vim and python 3.7 from source. Whenever
I try to execute a python3 block in a vim script I get the following crash:
```
Fatal Python error: PyThreadState_Get: no current thread
Vim: Caught deadly signal ABRT
Vim
Example:
s="I like crème caramel but not only caramel I also like crème fraîche."
Searching the idx-edx numbers of the matches of the word "crème":
echo matchstrpos(s, "crème") --> 7,13
echo matchstrpos(s, "crème",14) --> 55,61
I do have a python function in which I transform the above
Vim and Python is an incredible power combination.
Vimscript is great, Python makes it even greater, faster and easier.
What I just want to ask is if it possible in a future release to include the
python regex code as well.
Now I do a search in vim, capture the search/matches and use
On Sunday, January 25, 2015 at 12:45:00 AM UTC-6, prabhath kiran wrote:
I used Pydiction plugin to install Tab completion for python. But it doesn't
work.
I am using os x and vim 7.4
Thanks for the help.
You're going to give WAY more detail than that, to get an answer.
For example:
*
I used Pydiction plugin to install Tab completion for python. But it doesn't
work.
I am using os x and vim 7.4
Thanks for the help.
--
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit
/embedding.html#compiling-and-linking-under-unix-like-systems
--
Konstantinos
On 23 Sep 2014, at 11:59, Jay Jesus Amorin wrote:
I'm trying to build vim with python support, but I got this error
during
compile.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=1
I'm trying to build vim with python support, but I got this error during
compile.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=1 -o objects/memfile.o memfile.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=1
Thank you very much, this helped.
--
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google
I used the current stable Windows binary to install Vim 7.4.
Both console and gvim have 'VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10
2013 14:33:40)' in their :ver output.
However the gvim version has +python/dyn and +python3/dyn and the console
version has -python and -python3.
I
and +python3/dyn and the console
version has -python and -python3.
I installed python 2.7 after I installed vim, but I tried a reinstall of
vim afterwards.
Looks like you need to find a Vim installation with python/dyn enabled for
the console Vim as well.
I had originally thought you were
On Tue, May 13, 2014 at 9:54 AM, Ole Hansen olehanse...@gmail.com wrote:
Hi,
I was trying to install python and vim +python support. I successfully
installed python 2.7 and if I go into my gvim :echo has('python') returns
1.
But if I open my command line vim (which I use primarily
On 2014-05-13, Ole Hansen wrote:
Hi,
I was trying to install python and vim +python support. I
successfully installed python 2.7 and if I go into my gvim :echo
has('python') returns 1.
But if I open my command line vim (which I use primarily) of the
same installation, :echo has('python
2013/3/6 tucky.k...@gmail.com
On Friday, January 18, 2013 10:09:19 PM UTC+1, David Halter wrote:
The IDE features are better than those of python-mode, but python-mode
offers other additional features. They work side by side. Just disable
the rope features of python-mode.
How do
Hello,
I am trying to build vim on Win64. I have a successful build with
Dynamic Python 27 Support. But it does not work properly
it does not load the python library. My vim plugins inform me that I
need python to run them.
Here you can see the build of if_python.c
gcc -c -Iproto -DWIN32
On Friday, January 18, 2013 10:09:19 PM UTC+1, David Halter wrote:
The IDE features are better than those of python-mode, but python-mode
offers other additional features. They work side by side. Just disable
the rope features of python-mode.
How do you disable those features?
Do you
On Jan 12, 2013, at 2:02 AM, Zippermeyer wsulliva...@gmail.com wrote:
I would like to know what´s the best way to turn Vim into a Python IDE on
Windows 7
There seems to be more written on Vim as a Python IDE than on Vim as an IDE for
anything else. I do not use Python, and this is about four
On Friday, March 1, 2013 3:40:53 PM UTC-5, cyboman wrote:
I tried to post similar question vim_dev group, but I think I posted in the
wrong group. I apologize in advance if you have seen this question before.
I'm going to try to post it here.
Issue
I need to compile Vim with Python 3
to post it here.
Issue
I need to compile Vim with Python 3, Perl, and OLE and OLEsupport.
Problem 1.
I tried to compile with OLE support (all I have to do is to set OLE=yes)
but for some reason it doesn't work. As far as I understand it links some
dll's but In order for them to work I
On Friday, March 1, 2013 2:40:53 PM UTC-6, cyboman wrote:
I tried to post similar question vim_dev group, but I think I posted in the
wrong group. I apologize in advance if you have seen this question before.
I'm going to try to post it here.
Issue
I need to compile Vim with Python 3
I would like to know what´s the best way to turn Vim into a Python IDE on
Windows 7
If you're interested in autocompletion / goto and this kind of IDE
stuff, jedi-vim might be for you:
https://github.com/davidhalter/jedi-vim
The IDE features are better than those of python-mode, but python
Hello,
I would like to know what´s the best way to turn Vim into a Python IDE on
Windows 7
Thank you.
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
On 12/01/2013 09:02, Zippermeyer wrote:
Hello,
I would like to know what´s the best way to turn Vim into a Python IDE on
Windows 7
Thank you.
There is no such thing as a best way.
It depends on which features you'd like to get.
If they are not already there in Vim, you can use plugins
the best way to turn Vim into a Python IDE on
Windows 7
Thank you.
There is no such thing as a best way.
It depends on which features you'd like to get.
If they are not already there in Vim, you can use plugins, or script them
yourself.
There are plenty of tutorial and guides about
On 26 July 2012 06:59, Chris Sutcliffe ir0nh...@gmail.com wrote:
On 25 July 2012 20:25, Tony Mechelynck wrote:
And finally: If nothing else avails, try recompiling Vim with static Python
(remove the =dynamic then make sure your new config settings will be used by
running make reconfig. See
On 27 July 2012 08:32, Chris Sutcliffe wrote:
I managed to get it to work. I had to modify config.mk to include the
actual python dlls to load dynamically (it was generated with an empty
string). As time permits I'll look in to patching configure.in /
configure to pick up the dll names
On 27 July 2012 09:20, Chris Sutcliffe wrote:
On 27 July 2012 08:32, Chris Sutcliffe wrote:
I managed to get it to work. I had to modify config.mk to include the
actual python dlls to load dynamically (it was generated with an empty
string). As time permits I'll look in to patching
On 27 July 2012 11:47, Chris Sutcliffe wrote:
On 27 July 2012 09:20, Chris Sutcliffe wrote:
On 27 July 2012 08:32, Chris Sutcliffe wrote:
I managed to get it to work. I had to modify config.mk to include the
actual python dlls to load dynamically (it was generated with an empty
string). As
) has(python3)
what is the answer? If it's other than 1 1 there is at least one Python
library which Vim couldn't find.
Response was 0 0.
Are you running Vim from a Cygwin bash prompt or aren't you? If you aren't,
see if it makes a difference.
I'm running vim from within Cygwin mksh
Python3 has recently been made available under Cygwin so I figured I
would build vim to support both. I added:
--enable-pythoninterp=dynamic
and
--enable-python3interp=dynamic
and sure enough, in :version I see +python/dyn +python3/dyn. However,
when I try:
:py print hi
or
:py3 print(hi)
where Vim can find it? (e.g. in the PATH)
If you type
:echo has(python) has(python3)
what is the answer? If it's other than 1 1 there is at least one Python
library which Vim couldn't find.
Are you running Vim from a Cygwin bash prompt or aren't you? If you
aren't, see if it makes
On 29/06/12 16:22, ping wrote:
not sure this should go to vim/cygwin team...so copy both and Vlad(Voom
plugin author)
I got a new laptop (folio) come with win7.
for some reason I want to give win7 a trial.
cygwin full install went smooth.
but looks I don't have python support here.
that means I
On 30/06/12 23:32, ping wrote:
Thanks
I just got it recompiled under cygwin with python support
At least Voom that is based on python runs smoothly now
I can post detailed steps if anyone is interested
[...]
Maybe you should create a tip at http://vim.wikia.com/ ?
Best regards,
Tony.
--
On 6/30/2012 6:04 PM, Tony Mechelynck wrote:
On 30/06/12 23:32, ping wrote:
Thanks
I just got it recompiled under cygwin with python support
At least Voom that is based on python runs smoothly now
I can post detailed steps if anyone is interested
[...]
Maybe you should create a tip at
not sure this should go to vim/cygwin team...so copy both and Vlad(Voom
plugin author)
I got a new laptop (folio) come with win7.
for some reason I want to give win7 a trial.
cygwin full install went smooth.
but looks I don't have python support here.
that means I won't be able to have some
got returned msg about cygwin. so resent..
On 06/29/2012 10:22 AM, ping wrote:
not sure this should go to vim/cygwin team...so copy both and Vlad(Voom
plugin author)
I got a new laptop (folio) come with win7.
for some reason I want to give win7 a trial.
cygwin full install went smooth.
but
Dear all,
I am working on a linux server and it's difficult for me to ask our engineer
to install new plugin for editing .py file with vim.
Does anyone has experience make vim more python syntax highlighting
(generally more easier for python script editing) by
only add new configuration lines
On Oct 17, 4:18 am, Chao YUE chaoyue...@gmail.com wrote:
Dear all,
I am working on a linux server and it's difficult for me to ask our engineer
to install new plugin for editing .py file with vim.
Does anyone has experience make vim more python syntax highlighting
(generally more easier
You shouldn't need an engineer to install a plugin for you. Rather than
installing it system-wide, you can just install plugins into your
$HOME/.vim directory and they will override/extend the system defaults.
--
You received this message from the vim_use maillist.
Do not top-post! Type your
Thanks. I'll try this.
Chao
2011/10/17 Taylor Hedberg tmhedb...@gmail.com
You shouldn't need an engineer to install a plugin for you. Rather than
installing it system-wide, you can just install plugins into your
$HOME/.vim directory and they will override/extend the system defaults.
--
On Sat, Aug 14, 2010 at 4:58 AM, Reid Thompson reid.thomp...@ateb.com wrote:
On Fri, 2010-08-13 at 22:53 +0200, Marc Weber wrote:
Excerpts from meino.cramer's message of Fri Aug 13 21:15:13 +0200 2010:
Hi,
for developing python scripts I want to convert my vim into a
a Python IDE.
On 8/28/2010 11:03 AM, Jeffrey 'jf' Lim wrote:
On Sat, Aug 14, 2010 at 4:58 AM, Reid Thompsonreid.thomp...@ateb.com wrote:
On Fri, 2010-08-13 at 22:53 +0200, Marc Weber wrote:
Excerpts from meino.cramer's message of Fri Aug 13 21:15:13 +0200 2010:
Hi,
for developing python scripts I want to
Hi,
for developing python scripts I want to convert my vim into a
a Python IDE.
I searched the web and found dozens of tricks tips and other things
how to accomplish that.
I tried to combine all that bits and pieces and end up with a
bunch full of warnings and errors from wrong configs and script
Excerpts from meino.cramer's message of Fri Aug 13 21:15:13 +0200 2010:
Hi,
for developing python scripts I want to convert my vim into a
a Python IDE.
Hi meino.cramer
Maybe start explaining what you expect from an IDE.
Also telling I have many errors without telling which won't help us
On Fri, 2010-08-13 at 22:53 +0200, Marc Weber wrote:
Excerpts from meino.cramer's message of Fri Aug 13 21:15:13 +0200 2010:
Hi,
for developing python scripts I want to convert my vim into a
a Python IDE.
google pida
google vimmate
--
You received this message from the vim_use
Reid Thompson reid.thomp...@ateb.com [10-08-13 23:00]:
On Fri, 2010-08-13 at 22:53 +0200, Marc Weber wrote:
Excerpts from meino.cramer's message of Fri Aug 13 21:15:13 +0200 2010:
Hi,
for developing python scripts I want to convert my vim into a
a Python IDE.
google pida
google
And yet, I still get E370: Could not load library python26.dll when I
try doing a Python command.
Perhaps, python26.dll misses another dlls.
The easiest would be to get dependency walker from
http://www.dependencywalker.com and trace Vim (File-Open - browse to
(g)vim.exe, Profile - Start
Max wrote:
Running vim 7.2 with patches 1-356 on Windows 7, installed
via Cream, except using the Vim without Cream installers.
:version confirms +python/dyn
:version and gvim.exe confirms DYNAMIC_PYTHON_DLL=python26.dll
:echo $PATH confirms c:\Windows\System32 is in path
54 matches
Mail list logo