Description of problem: vim should be compiled with lua Version-Release number of selected component (if applicable): vim-X11-7.4.640 How reproducible: Always Additional info: $ vim --version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 2 2015 08:37:50) Included patches: 1-207, 209-640 Modified by <bugzilla> Compiled by <bugzilla> Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_netterm +syntax +arabic +file_in_path +mouse_sgr +tag_binary +autocmd +find_in_path -mouse_sysmouse +tag_old_static -balloon_eval +float +mouse_urxvt -tag_any_white -browse +folding +mouse_xterm -tcl ++builtin_terms -footer +multi_byte +terminfo +byte_offset +fork() +multi_lang +termresponse +cindent +gettext -mzscheme +textobjects -clientserver -hangul_input +netbeans_intg +title -clipboard +iconv +path_extra -toolbar +cmdline_compl +insert_expand +perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak +python/dyn +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con -lua +rightleft +windows +diff +menu +ruby/dyn +writebackup +digraphs +mksession +scrollbind -X11 -dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent -xim +emacs_tags -mouseshape -sniff -xsmp +eval +mouse_dec +startuptime -xterm_clipboard +ex_extra +mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop -xpm system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/etc" f-b for $VIMRUNTIME: "/usr/share/vim/vim74" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Werror=format-security -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -fstack-protector -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
I get "+lua/dyn" on current F21. Checking the spec, %withlua switched from 1 to 0 in commit e84b07d: Commit: Karsten Hopp <karsten> CommitDate: Wed Jan 21 16:50:26 2015 +0100 disable lua for now
*** Bug 1206822 has been marked as a duplicate of this bug. ***
Is there any specific reason of this?
It'll be nice to have lua support, quite a few plugins depend on it. I get this, for example: neocomplete does not work this version of Vim. It requires "if_lua" enabled Vim(7.3.885 or above). Press ENTER or type command to continue Increasing severity - affects users quite a bit.
Ping? Fedora 22 was released recently and more users are hitting this issue now.
Ankur, Thanks for increasing the priority and severity. Any idea why it was dropped?
Not really. We'll have to wait for the maintainer to tell us.
I am not a maintainer of lua, but the reason was simple, on January 2015, vim didn't compile with lua 5.3. See: https://code.google.com/p/vim/issues/detail?id=329 The above says this is fixed in 7.4.638, so I think vim support can be enabled now.
(In reply to Mamoru TASAKA from comment #8) > > The above says this is fixed in 7.4.638, so I think vim support > can be enabled now. Of course I meant "lua support can be enabled now"
I did a scratch build turning the flag to 1, but that didn't fix it for me either. The --version does say +lua/dyn but running something like :echo has("lua") still gives me 0. Trying to use the lua interpreter: :lua print('Hello') gives another "could not load library function lua_replace" error.
(In reply to Ankur Sinha (FranciscoD) from comment #10) > I did a scratch build turning the flag to 1, but that didn't fix it for me > either. The --version does say +lua/dyn but running something like > > :echo has("lua") still gives me 0. > > Trying to use the lua interpreter: > > :lua print('Hello') > > gives another "could not load library function lua_replace" error. This is https://bugzilla.redhat.com/show_bug.cgi?id=1221430#c1
*** Bug 1240300 has been marked as a duplicate of this bug. ***
Updated to 7.4.827 and now lua is enabled. REF:https://bugzilla.redhat.com/show_bug.cgi?id=1221430#c11
closing per comment#13
vim-7.4.827-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.