Vim9 benchmark versus lua

2023-07-09 Thread Nicolas
Hi, I'm currently trading between lua 5.4 and vim9 script and found that for some pattern recognition tasks, to my surprise vim9 seems to outperform lua5. 4. Is there an up-to-date performance benchmark comparing vim9 to lua 5.4 among regex themes, calculations, io system like reading

Re: Embedding Lua in vim9script breaks syntax highlight

2022-10-30 Thread Nicolas
Thank you a lot for advise Owajigbanam :) Nicolas. Le dim. 30 oct. 2022 à 19:23, Owajigbanam Ogbuluijah a écrit : > Hi Nicolas, > > I'd recommend having Lua code in a Lua file, then using the Lua region in > Vim9script to import the Lua file — if you must. > > A better recomme

Re: Embedding Lua in vim9script breaks syntax highlight

2022-10-30 Thread Owajigbanam Ogbuluijah
Hi Nicolas, I'd recommend having Lua code in a Lua file, then using the Lua region in Vim9script to import the Lua file — if you must. A better recommendation would just be to write Vim9script though. I find it easier to write. Best, Igbanam On Sun, Oct 30, 2022 at 5:38 AM Nicolas wrote

Embedding Lua in vim9script breaks syntax highlight

2022-10-29 Thread Nicolas
Hi, it Seems that the lua print code line above, when embedded in lua region code breaks vim9 syntax highlight. How to fix it ? Thank you Nicolas [image: Capture d’écran 2022-10-30 063445.png] [image: Capture d’écran 2022-10-30 063530.png] -- -- You received this message from the "vi

Re: Lua vim indentation

2022-05-19 Thread Ni Va
, pattern) local x=line:match(pattern) if x~=nil then return ownsplit(x, '=') end end Le mercredi 18 mai 2022 à 09:00:28 UTC+2, Ni Va a écrit : > Hi, > > DON'T HAPPENING to get correct vim lua indentation, is someone can help me > ? > >

Lua vim indentation

2022-05-18 Thread Ni Va
Hi, DON'T HAPPENING to get correct vim lua indentation, is someone can help me ? function trace(t) -- {{{ setmetatable(t,{__index={s="", f=true}}) local s, f = t[1] or t.s, t[2] or t.f -- force if dbgmode then if f then print ( os.date('%

Re: Vim9 - Python/Lua interface

2020-05-13 Thread Andrey Butirsky
On 5/13/20 21:05, Bram Moolenaar wrote: Clearly there are more plugin writers using Vim script than anything else. Maybe it's chicken and the egg problem? :) -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: Vim9 - Python/Lua interface

2020-05-13 Thread rameo
nguage, not something > similar I already knew. > However, I got completely excited when I understood that I could write > scripts in Lua and Python. > Why? Because it was not easy to get used to Vimscript and the help I asked > on internet sites was rarely answered. > Anyway, I d

Re: Vim9 - Python/Lua interface

2020-05-13 Thread Bram Moolenaar
gt; and changed plugins/menu. > Still, I had to get used to Vimscript. A whole new language, not something > similar I already knew. > However, I got completely excited when I understood that I could write > scripts in Lua and Python. > Why? Because it was not easy to get used to

Vim9 - Python/Lua interface

2020-05-13 Thread rameo
. Still, I had to get used to Vimscript. A whole new language, not something similar I already knew. However, I got completely excited when I understood that I could write scripts in Lua and Python. Why? Because it was not easy to get used to Vimscript and the help I asked on internet sites

Re: Failed to compile vim with lua support.

2020-04-21 Thread Shlomi Fish
t; > > > Hi, > > > > > > > > On Sat, 18 Apr 2020 19:51:09 +0800 > > > > Hongyi Zhao wrote: > > > > > > > > > No, still failed, see following: > > > > > > > > > > $ git clone htt

Re: Failed to compile vim with lua support.

2020-04-20 Thread Shlomi Fish
On Sat, 18 Apr 2020 16:52:52 +0300 Shlomi Fish wrote: > CCing the list, see: > > https://www.shlomifish.org/philosophy/computers/netiquette/email/reply-to-list.html > > On Sat, 18 Apr 2020 21:39:03 +0800 > Hongyi Zhao wrote: > > > Another question: Can this branch be merged into the master?

Re: Failed to compile vim with lua support.

2020-04-18 Thread Shlomi Fish
18 Apr 2020 19:51:09 +0800 > > > > > Hongyi Zhao wrote: > > > > > > > > > > > No, still failed, see following: > > > > > > > > > > > > $ git clone https://github.com/shlomif/vim.git vim.git > > > &

Re: Failed to compile vim with lua support.

2020-04-18 Thread Hongyi Zhao
Hi, > > > > > > > > On Sat, 18 Apr 2020 19:51:09 +0800 > > > > Hongyi Zhao wrote: > > > > > > > > > No, still failed, see following: > > > > > > > > > > $ git clone https://github.com/shlomif/vim.git vim.g

Re: Failed to compile vim with lua support.

2020-04-18 Thread Hongyi Zhao
gt; Hongyi Zhao wrote: > > > > > > > No, still failed, see following: > > > > > > > > $ git clone https://github.com/shlomif/vim.git vim.git > > > > > > You are using the wrong git branch: > > > > > > https://github.com/shlomif

Re: Failed to compile vim with lua support.

2020-04-18 Thread Shlomi Fish
; > > $ git clone https://github.com/shlomif/vim.git vim.git > > > > You are using the wrong git branch: > > > > https://github.com/shlomif/vim/tree/lua-moonjit-support > > > > execute "git checkout lua-moonjit-support" > > Failed, see f

Re: Failed to compile vim with lua support.

2020-04-18 Thread Hongyi Zhao
Shlomi Fish 于2020年4月18日周六 下午8:18写道: > > Hi, > > On Sat, 18 Apr 2020 19:51:09 +0800 > Hongyi Zhao wrote: > > > No, still failed, see following: > > > > $ git clone https://github.com/shlomif/vim.git vim.git > > You are using the wrong git branch: &

Re: Failed to compile vim with lua support.

2020-04-18 Thread Shlomi Fish
Hi, On Sat, 18 Apr 2020 19:51:09 +0800 Hongyi Zhao wrote: > No, still failed, see following: > > $ git clone https://github.com/shlomif/vim.git vim.git You are using the wrong git branch: https://github.com/shlomif/vim/tree/lua-moonjit-support execute "git checkout lua-m

Re: Failed to compile vim with lua support.

2020-04-18 Thread Hongyi Zhao
\ --enable-pythoninterp=yes \ --enable-python3interp=yes \ --enable-rubyinterp \ --enable-tclinterp \ --with-tclsh=/usr/bin/tclsh \ --enable-gui=gtk3 \ --enable-terminal \ --enable-xim \ --with-x \ --with-luajit \ --with-lua-prefix=/usr/local

Re: Failed to compile vim with lua support.

2020-04-18 Thread Shlomi Fish
-luainterp \ > > --enable-perlinterp \ > > --enable-pythoninterp=yes \ > > --enable-python3interp=yes \ > > --enable-rubyinterp \ > > --enable-tclinterp \ > > --with-tclsh=/usr/bin/tclsh \ > > --enable-gui=gtk3 \ > > --en

Re: Failed to compile vim with lua support.

2020-04-18 Thread Hongyi Zhao
/usr/bin/tclsh \ > --enable-gui=gtk3 \ > --enable-terminal \ > --enable-xim \ > --with-x \ > --with-luajit \ > --with-lua-prefix=/usr \ No, I use the self compiled lua/moonjit which installed under /usr/local: werner@ubuntu-01:~$ which lua /usr/local/bin/lua werner

Re: Failed to compile vim with lua support.

2020-04-18 Thread Shlomi Fish
enable-python3interp=yes \ --enable-rubyinterp \ --enable-tclinterp \ --with-tclsh=/usr/bin/tclsh \ --enable-gui=gtk3 \ --enable-terminal \ --enable-xim \ --with-x \ --with-luajit \ --with-lua-prefix=/usr \ --with-features=huge ``` vim builds fine on mageia v8 x6

Re: Failed to compile vim with lua support.

2020-04-18 Thread Hongyi Zhao
w | head -3 > commit 2695de63e370235c4d3d73e3fe07cc1006de3460 > Author: Bram Moolenaar > Date: Fri Apr 17 21:13:01 2020 +0200 $ git show | head -3 commit 2695de63e370235c4d3d73e3fe07cc1006de3460 Author: Bram Moolenaar Date: Fri Apr 17 21:13:01 2020 +0200 > [shlomif@telaviv1 vim-git]$ ldd src/vim

Re: Failed to compile vim with lua support.

2020-04-18 Thread Shlomi Fish
-tclinterp \ --enable-gui=gtk3 \ ``` ``` [shlomif@telaviv1 vim-git]$ git show | head -3 commit 2695de63e370235c4d3d73e3fe07cc1006de3460 Author: Bram Moolenaar Date: Fri Apr 17 21:13:01 2020 +0200 [shlomif@telaviv1 vim-git]$ ldd src/vim | grep lua lib

Failed to compile vim with lua support.

2020-04-17 Thread Hongyi Zhao
Hi, Latest git version of vim, see the following: $ make -j24 /usr/bin/ld: objects/if_lua.o: in function `luaopen_vim': /home/werner/Public/editor/vim/vim.git/src/if_lua.c:2011: undefined reference to `lua_setglobal' /usr/bin/ld: /home/werner/Public/editor/vim/vim.git/src/if_lua.c:2013:

Re: lua

2018-08-23 Thread Charles E Campbell
rob wrote: I'm going to have to grok this. It will take a bit of time. Hello: Often one may use syntax-based folding, but it appears that syntax/lua.vim doesn't support any folding (ie. :set fdm=syntax). You might want to bring this up with lua's syntax maintainer (Marcus Aurelius Farias

Re: lua

2018-08-21 Thread David Woodfall
gt; Hi. I'm interested in getting code folding to work. I'm getting a > > > message > > > on Ubuntu 16.04 amd64 that lua has to be compiled in for a macro to work. There are a few :help entries on folding, which can be found by e.g. :help fold but :help foldmethod (or fdm) is probab

Re: lua

2018-08-21 Thread rob
I'm going to have to grok this. It will take a bit of time. Thanks --rob On 08/21/2018 07:48 PM, Tony Mechelynck wrote: On Wed, Aug 22, 2018 at 12:26 AM, rob wrote: Hi. I'm interested in getting code folding to work. I'm getting a message on Ubuntu 16.04 amd64 that lua has

Re: lua

2018-08-21 Thread Tony Mechelynck
On Wed, Aug 22, 2018 at 12:26 AM, rob wrote: > Hi. I'm interested in getting code folding to work. I'm getting a message > on Ubuntu 16.04 amd64 that lua has to be compiled in for a macro to work. > > How do I get lua to be compiled into the make process? > > --rob You can g

lua

2018-08-21 Thread rob
Hi.  I'm interested in getting code folding to work.  I'm getting a message on Ubuntu 16.04 amd64 that lua has to be compiled in for a macro to work. How do I get lua to be compiled into the make process? --rob -- -- You received this message from the "vim_use" maillist. Do no

lua, ruby python : reduce external library portable

2018-05-16 Thread Ni Va
Hi, In a Vim distro standalone on windows 10, I wonder if I can reduce the size embbeded dll without impact on calls. Thank you Niva -- -- 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

Dynamic libraries loading (ruby/python/lua) : E370: Could not load library

2018-01-04 Thread Ni Va
Hi, According setting dll options to dynamic dlls' names, Vim cannot load library. I know the issue 32/64bits but regarding four following tests, no one success. :py print("hello") :py3 print("hello") :lua print("hello") :ruby print("hello") E370:

Re: how to compile and install gVim with Lua support?

2017-08-25 Thread Phil Dobbin
On 25/08/17 15:26, DwigtArmyOfChampions wrote: > Aren't those all Linux commands? I'm using Windows 10. It helps if you tell people what OS you're using in the first place. Cheers, Phil. -- The sun shone, having no alternative, on the nothing new Murphy by Samuel Beckett -- -- You

Re: how to compile and install gVim with Lua support?

2017-08-25 Thread Christian Brabandt
On Fr, 25 Aug 2017, DwigtArmyOfChampions wrote: > Aren't those all Linux commands? I'm using Windows 10. you can check, what we do in the nightly windows builds: https://github.com/vim/vim-win32-installer/blob/master/appveyor.bat Best, Christian -- Mit den Frauen ist das wie mit den Hemden,

Re: how to compile and install gVim with Lua support?

2017-08-25 Thread DwigtArmyOfChampions
Aren't those all Linux commands? I'm using Windows 10. -- -- 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

Re: how to compile and install gVim with Lua support?

2017-08-25 Thread Mauro Locatelli
Hi, I usually use this gist <https://gist.github.com/crivotz/1137f2998042b4b30f42cc156ea91612> for vim installation with ruby, lua and python. I hope you can find it useful Cheers Mauro 2017-08-25 15:03 GMT+02:00 DwigtArmyOfChampions < dwightarmyofchampi...@hotmail.com>: > W

how to compile and install gVim with Lua support?

2017-08-25 Thread DwigtArmyOfChampions
Where can I find detailed instructions on how to compile gVim with Lua support? -- -- 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 --- Yo

Re: How to anable lua for vim?

2016-09-29 Thread Dominique Pellé
AM, <meino.cra...@gmx.de> wrote: > Hi, > > To enable lua for vim I run configure as follows: > > ./configure --prefix=/usr/local --sysconfdir=/etc/vim --with-features=huge > --with-luainterp=dynamic --with-lua-prefix=/usr/bin --enable-luainterp=yes > --enable-pyth

Re: How to anable lua for vim?

2016-09-29 Thread Meino . Cramer
Ben Fritz <fritzophre...@gmail.com> [16-09-29 19:24]: > On Wednesday, September 28, 2016 at 9:16:34 PM UTC-5, meino.cra...@gmx.de > wrote: > > Hi, > > > > To enable lua for vim I run configure as follows: > > > > ./configure --prefix=/usr/local

Re: How to anable lua for vim?

2016-09-29 Thread Ben Fritz
On Wednesday, September 28, 2016 at 9:16:34 PM UTC-5, meino.cra...@gmx.de wrote: > Hi, > > To enable lua for vim I run configure as follows: > > ./configure --prefix=/usr/local --sysconfdir=/etc/vim --with-features=huge > --with-luainterp=dynamic --with-lua-prefix=/usr/bin

How to anable lua for vim?

2016-09-28 Thread Meino . Cramer
Hi, To enable lua for vim I run configure as follows: ./configure --prefix=/usr/local --sysconfdir=/etc/vim --with-features=huge --with-luainterp=dynamic --with-lua-prefix=/usr/bin --enable-luainterp=yes --enable-pythoninterp . Vim compiles fine. But doing 'vim --version' produces (besides

Re: How to easily enable Lua in Vim 7.4 (would possibly like to avoid building it from source if possible)

2015-08-25 Thread 'Annis Monadjem' via vim_use
On Tuesday, August 25, 2015 at 6:46:13 AM UTC+2, Ben Fritz wrote: On Monday, August 24, 2015 at 7:43:22 PM UTC-5, Annis Monadjem wrote: My Vim 7.4 Lua is disabled. I need to enable Lua in Vim so that I can setup neocomplete. Is there a way to enable Lua without removing/reinstalling my

How to easily enable Lua in Vim 7.4 (would possibly like to avoid building it from source if possible)

2015-08-24 Thread 'Annis Monadjem' via vim_use
My Vim 7.4 Lua is disabled. I need to enable Lua in Vim so that I can setup neocomplete. Is there a way to enable Lua without removing/reinstalling my current Vim installation. If I happen to built source from scratch I'm aware about http://vim.wikia.com/wiki/Building_Vim;, however any further

Re: How to easily enable Lua in Vim 7.4 (would possibly like to avoid building it from source if possible)

2015-08-24 Thread Ben Fritz
On Monday, August 24, 2015 at 7:43:22 PM UTC-5, Annis Monadjem wrote: My Vim 7.4 Lua is disabled. I need to enable Lua in Vim so that I can setup neocomplete. Is there a way to enable Lua without removing/reinstalling my current Vim installation. If I happen to built source from scratch I'm

!lua % command in gVIM 7.4 on WINDOWS7

2015-04-17 Thread MobsterSquirrel
Hello everyone :) How are you doing today? After struggling with VIM for hours, I decided to search for help, since I found this is not a Lua issue, but a VIM one, I decided to look for help. OK I'll be direct. I have this: http://vim.1045645.n5.nabble.com/file/n5724689/foo_bar_image.png

Re: !lua % command in gVIM 7.4 on WINDOWS7

2015-04-17 Thread Ben Fritz
On Friday, April 17, 2015 at 3:17:21 AM UTC-5, Victor Gomes wrote: Hello everyone :) How are you doing today? After struggling with VIM for hours, I decided to search for help, since I found this is not a Lua issue, but a VIM one, I decided to look for help. OK I'll be direct. I have

Re: Issue executing lua scripts from gVIM. !lua %

2015-04-16 Thread Ben Fritz
On Thursday, April 16, 2015 at 1:45:09 PM UTC-5, Victor Gomes wrote: I'll be direct. I'm trying to run/interpret/compile lua scripts direct from gVIM http://s12.postimg.org/upo6q4b0t/foo_bar_image.png On the left, the module, on the right, the script which uses the module. When I try

Issue executing lua scripts from gVIM. !lua %

2015-04-16 Thread Victor Gomes
I'll be direct. I'm trying to run/interpret/compile lua scripts direct from gVIM http://s12.postimg.org/upo6q4b0t/foo_bar_image.png On the left, the module, on the right, the script which uses the module. When I try the command: !lua % where: !lua - runs/compiles %- the path

Re: Programming Lua with vim

2014-03-12 Thread Marc Weber
. There are some settings such as synmaxcol. Compare old / new regex :h regexpengine. There is syntax profiling, too (forgott about the name). If the new engine is slower than the old one its bug, then report to vim_dev mailinglist. What other additions to vim for coding lua are recommended? Snippet

Programming Lua with vim

2014-03-11 Thread meino . cramer
Hi, I want to write Lua code with vim. Currently I am missing the function of '%' to jump from one scope delimiter to the corresponding one for things like function name() end . Here the missing scope delimiter are 'function' and 'end'. There are several others more. I am using a 6

Re: Vim Lua and such

2013-07-08 Thread Nazri Ramliy
On Mon, Jul 8, 2013 at 12:03 AM, meino.cra...@gmx.de wrote: The longest line of the dbfile is 71 characters long. So I think, at least this is no problem ;) It seems to be a problem with one of the plugins. Lua itsself read/interprets the dbfile without a second of delay, though. I am

Re: Vim Lua and such

2013-07-08 Thread Dominique Pellé
Nazri Ramliy wrote: On Mon, Jul 8, 2013 at 12:03 AM, meino.cra...@gmx.de wrote: The longest line of the dbfile is 71 characters long. So I think, at least this is no problem ;) It seems to be a problem with one of the plugins. Lua itsself read/interprets the dbfile without a second

Re: Vim Lua and such

2013-07-08 Thread Christian Brabandt
in ?? () #42 0x in ?? () This stacktrace isn't really helpful. Please use a debug built of Vim (non-stripped). ...the liblua-entries seems to indicate call to the lua-interpreter. The longest line of the dbfile is 71 characters long. So I think, at least this is no problem

Vim Lua and such

2013-07-07 Thread meino . cramer
+vreplace +cursorbind +listcmds+quickfix+wildignore +cursorshape +localmap+reltime +wildmenu +dialog_con_gui +lua +rightleft +windows +diff+menu-ruby+writebackup +digraphs+mksession

Re: Vim Lua and such

2013-07-07 Thread Dominique Pellé
+lispindent -python3 +vreplace +cursorbind +listcmds+quickfix+wildignore +cursorshape +localmap+reltime +wildmenu +dialog_con_gui +lua +rightleft +windows +diff+menu-ruby

Re: Vim Lua and such

2013-07-07 Thread meino . cramer
+cryptv +linebreak -python +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds+quickfix+wildignore +cursorshape +localmap+reltime +wildmenu +dialog_con_gui +lua

Re: Vim Lua and such

2013-07-07 Thread meino . cramer
+cursorshape +localmap+reltime +wildmenu +dialog_con_gui +lua +rightleft +windows +diff+menu-ruby+writebackup +digraphs+mksession +scrollbind +X11 +dnd

Re: Vim Lua and such

2013-07-07 Thread Tony Mechelynck
On 07/07/13 18:03, meino.cra...@gmx.de wrote: [...] Hi Dominique, [...] I did the gdb thing on a hanging vim and the backtrace shows this: GNU gdb (Gentoo 7.5.1 p2) 7.5.1 [...] Attaching to process 9838 Reading symbols from /usr/local/bin/vim...(no debugging symbols found)...done. warning:

Lua setup for vim

2012-07-20 Thread meino . cramer
Hi, what scripts and settings are recommended for using vim to programm in lua? Thank you very much in advance for any help! Have a nice weekend! Best regards, mcc -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying

Re: Lua setup for vim

2012-07-20 Thread Tony Mechelynck
On 21/07/12 05:41, meino.cra...@gmx.de wrote: Hi, what scripts and settings are recommended for using vim to programm in lua? Thank you very much in advance for any help! Have a nice weekend! Best regards, mcc Well, first I suppose you'll want a Vim with lua interpreter

Lua-in-Vim highlighting.

2012-02-17 Thread Paul Isambert
Hello there, Both syntax/vim.vim and syntax/lua.vim have change very recently, and as a consequence (I suppose), syntax highlighting of Lua in a Vim script is now completely wrong. For instance: lua EOF for 1, 2 do while true do break end end EOF while, (second) do and break aren't

Erratic behavior of Lua.

2012-01-21 Thread Paul Isambert
Hello there, Suppose the following function: fun! Test () let l:x = [line('.')] echo l:x[0] lua endlua local x = vim.eval(l:x) print( .. x[1]) endlua endfun It is admittedly not very informative, and prints N and then N, where N is the current line number. The problem

Re: Access vim command from the lua end WAS: How do the default key commands work

2011-01-31 Thread Marco
On 2011-01-31 Ben Schmidt mail_ben_schm...@yahoo.com.au wrote: So I rephrase my question. How to access basic vim commands (here: %) from inside lua? How to access an arbitrary vim function from inside lua? Use the :normal command (probably with ! to avoid using user mappings). E.g

Re: Access vim command from the lua end WAS: How do the default key commands work

2011-01-30 Thread Marco
k jnow k calls j calls k calls j calls k...boom Hope this makes sense. There's no underlying function (like I understand Emacs has) accessible to which keys can be rebound. Thanks for the explanation. It's not about remapping. I'm writing a vimscript in lua. In a function I need

Re: Access vim command from the lua end WAS: How do the default key commands work

2011-01-30 Thread Ben Schmidt
It's not about remapping. I'm writing a vimscript in lua. In a function I need the position of the opening and closing bracket. So in vim I would execute »%« twice. Than I have both positions. If there would be functions for the basic comands I just would execute the corresponding function

Re: how to info vim the ruby/lua intepreter path under windows

2010-12-30 Thread Isaac
there, I have a question about how to use lua or ruby support in vim 73 - I can download the compiled verison with lua/ruby support - but my workstation is locked down that I can not install anything into the system, is there a way that I can direct the lua/ruby intepreter folder to vim

Re: how to info vim the ruby/lua intepreter path under windows

2010-12-30 Thread Tom Link
but there's currently no way that I can add the path to my system it's pretty locked up. Let's blindly assume you're using windows. You should always be able to set per use environment variables. Or you could create a bat script that sets the environment variables and runs vim. HTH -- You

how to info vim the ruby/lua intepreter path under windows

2010-12-29 Thread Isaac
Hi there, I have a question about how to use lua or ruby support in vim 73 - I can download the compiled verison with lua/ruby support - but my workstation is locked down that I can not install anything into the system, is there a way that I can direct the lua/ruby intepreter folder to vim so

Re: how to info vim the ruby/lua intepreter path under windows

2010-12-29 Thread Arun
On Wed, Dec 29, 2010 at 06:57:00AM -0800, Isaac wrote: Hi there, I have a question about how to use lua or ruby support in vim 73 - I can download the compiled verison with lua/ruby support - but my workstation is locked down that I can not install anything into the system, is there a way

Lua support

2010-09-23 Thread Marco
Hi, Vim 7.3 has build-in Lua support, right? Is there any documentation about the API, sample lua scripts or alike to see how things work? Regards Marco -- 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

Re: Lua support

2010-09-23 Thread Zsolt Udvari
Hello Marco! Maybe you'll like this: http://www.vim.org/scripts/script.php?script_id=1763 Zsolt 2010/9/23 Marco net...@lavabit.com: Hi, Vim 7.3 has build-in Lua support, right? Is there any documentation about the API, sample lua scripts or alike to see how things work? Regards Marco

Re: Lua support

2010-09-23 Thread Marco
On 2010-09-23 Zsolt Udvari udvzs...@gmail.com wrote: Maybe you'll like this: http://www.vim.org/scripts/script.php?script_id=1763 Thanks for the hint, but that's not exactly what I need. The script helps to write arbitrary lua code. My intention is to write code in lua (instead of vimscript

Re: Lua support

2010-09-23 Thread Marco
On 2010-09-23 ZyX zyx@gmail.com wrote: Is the information provided in if_lua.txt help file insufficient? No. This was exactly the starting point I was looking for. Thanks. Marco -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: Windows version with Python, Ruby and Lua support?

2010-08-29 Thread Jeri Raye
[snip] [snip] I'm also trying to use the command-t plugin. I have now the vim without cream but with ruby support. The plugin however does not work yet. I've contacted the writer of this plugin. He created an error ticket See for the progress the following:https://wincent.com/issues/1652

Re: Windows version with Python, Ruby and Lua support?

2010-08-27 Thread Tony Mechelynck
On 23/08/10 15:13, Didlybom wrote: On Aug 23, 1:36 pm, John Beckettjohnb.beck...@gmail.com wrote: Didlybom wrote: I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work.

Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 23, 3:26 pm, Jeri Raye jeri.r...@gmail.com wrote: On Aug 23, 2:18 pm, Adam Duck adam.ian.d...@gmail.com wrote: On 23.08.2010 13:19, Didlybom wrote: Hi, [snip] I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them

Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 23, 5:45 pm, Ben Fritz fritzophre...@gmail.com wrote: On Aug 20, 4:57 am, Didly Bom didly...@gmail.com wrote: So if you could point me to where I could download the versions of vim and gvim that have this language support I would be very grateful. The default installer on vim.org

Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 24, 11:52 am, Didlybom didly...@gmail.com wrote: On Aug 23, 5:45 pm, Ben Fritz fritzophre...@gmail.com wrote: On Aug 20, 4:57 am, Didly Bom didly...@gmail.com wrote: So if you could point me to where I could download the versions of vim and gvim that have this language support I

Lua plugin for vim

2010-08-24 Thread Tom
Hi! I'm wondering if there's any examples or (un)finished code out there that use the new lua api for vim. gr, Tom Wieland -- 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

Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom
Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof) on the official Vim installer for windows. I am

RE: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread John Beckett
Didlybom wrote: I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work. See 'Vim without Cream' at: http://vim.wikia.com/wiki/download If there is a further problem, state

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Adam Duck
On 23.08.2010 13:19, Didlybom wrote: Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom
On Aug 23, 1:36 pm, John Beckett johnb.beck...@gmail.com wrote: Didlybom wrote: I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work. See 'Vim without Cream'

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom
a question regarding python, ruby and lua support (or lack thereof) on the official Vim installer for windows. I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work. I've

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Jeri Raye
On Aug 23, 2:18 pm, Adam Duck adam.ian.d...@gmail.com wrote: On 23.08.2010 13:19, Didlybom wrote: Hi, [snip] I am trying to use some vim scripts that require python or ruby support (such as command-t) but when I try to use them on a fresh install of Vim 7.3 on windows they do not work.

Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Ben Fritz
On Aug 20, 4:57 am, Didly Bom didly...@gmail.com wrote: So if you could point me to where I could download the versions of vim and gvim that have this language support I would be very grateful. The default installer on vim.org contains the language support you desire, but set up for dynamic

Windows version with Python, Ruby and Lua support?

2010-08-20 Thread Didly Bom
Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof) on the official Vim installer for windows. I am

Re: Windows version with Python, Ruby and Lua support?

2010-08-20 Thread H Xu
On 2010/8/20 17:57, Didly Bom wrote: Hi, this is my first post on this list so first I'd like to thank all the Vim contributors for your work on this awesome piece of software that is VIM. That being said, I have a question regarding python, ruby and lua support (or lack thereof

About the lua interface feature

2010-07-19 Thread winterTTr
Lua is really a embedded language with a good efficiency, and the lua running environment is small enough to be embedded in vim executive file.So i am a litter curious about that the lua interface will embed the whole lua virtual machine ( i am not very if i can call it with this words

Re: question about lua source navigation

2010-07-04 Thread X Heruacles
, 2010 at 3:42 PM, Gary Johnson garyj...@spocom.com wrote: On 2010-06-30, X Heruacles wrote: I'm just learning lua and I use vim to navigate some lua projects. I use ctags to generate tags using a map: map F12 Esc:!ctags -R

Re: question about lua source navigation

2010-07-02 Thread X Heruacles
just learning lua and I use vim to navigate some lua projects. I use ctags to generate tags using a map: map F12 Esc:!ctags -R .CR but it rarely helps. When I want to jump to some function definition, it always errs. Then I checked

Re: question about lua source navigation

2010-07-02 Thread Gary Johnson
: I'm just learning lua and I use vim to navigate some lua projects. I use ctags to generate tags using a map: map F12 Esc:!ctags -R .CR but it rarely helps. When I want to jump to some function definition, it always errs. Then I

question about lua source navigation

2010-06-30 Thread X Heruacles
I'm just learning lua and I use vim to navigate some lua projects. I use ctags to generate tags using a map: map F12 Esc:!ctags -R .CR but it rarely helps. When I want to jump to some function definition, it always errs. Then I checked the generated tag and it seems fine. So my question

Re: question about lua source navigation

2010-06-30 Thread Gary Johnson
On 2010-06-30, X Heruacles wrote: I'm just learning lua and I use vim to navigate some lua projects. I use ctags to generate tags using a map: map F12 Esc:!ctags -R .CR but it rarely helps. When I want to jump to some function definition, it always errs. Then I checked

Re: question about lua source navigation

2010-06-30 Thread X Heruacles
: prizeTask. So it is. On Wed, Jun 30, 2010 at 3:42 PM, Gary Johnson garyj...@spocom.com wrote: On 2010-06-30, X Heruacles wrote: I'm just learning lua and I use vim to navigate some lua projects. I use ctags to generate tags using a map: map F12 Esc:!ctags -R .CR but it rarely helps

Re: question about lua source navigation

2010-06-30 Thread Dominique Pellé
X Heruacles wrote: I'm just learning lua and I use vim to navigate some lua projects. I  use ctags to generate tags using a map: map F12  Esc:!ctags -R .CR but it rarely helps. When I want to jump to some function definition, it always errs. Then I checked the generated tag and it seems

Re: question about lua source navigation

2010-06-30 Thread X Heruacles
The error code is E426. After I set iskeyword, the command set iskeyword? echos iskeyword=@,48-57,_,128-167,224-235,: but it still didn't solve the problem. Thanks anyway. 2010/6/30 Dominique Pellé dominique.pe...@gmail.com X Heruacles wrote: I'm just learning lua and I use vim to navigate

Re: question about lua source navigation

2010-06-30 Thread Gary Johnson
On 2010-06-30, X Heruacles wrote: On Wed, Jun 30, 2010 at 3:42 PM, Gary Johnson garyj...@spocom.com wrote: On 2010-06-30, X Heruacles wrote: I'm just learning lua and I use vim to navigate some lua projects. I use ctags to generate tags using a map: map