Hello !
Since patch 274, my vim/gvim is very slow, specialy when i'm editing a
large php file with my custom syntax file.
All my vim files (.vimrc, .gvimrc, .vim) are available here :
http://medias.mageekbox.net/vim.tgz.
There is a large php file in the tar archive to illustrate my problem.
Use my config files and try to modify the class name or remove the
"abstract" keyword at line 8 to see the problem (perhaps...).
Then i do it, my CPU usage grown to 100% and vim is frozen until i do
not hit <ctrl-c>.
I have the problem under FreeBSD 7.1 and FreeBSD 8.
This is the result of the :version command in vim :
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled May 26 2010 12:01:44)
Included patches: 1-6, 8-35, 37-48, 50-70, 73, 75-87, 90-92, 94-100,
102-137, 139-149, 151-171, 173-190, 192-193, 195-203, 206-211, 213-215,
217-218, 220-232, 234-246, 251-259, 261-3
01, 303-319, 321-322, 324-335, 337-351, 353-361, 363, 366-371, 373,
375-376, 378-383, 385-387, 389-398, 401-402, 404-411
Compiled by f...@witchblade
Big version with GTK2 GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent +clientserver +clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments +cryptv +cscope
+cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags
+eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float
+folding -footer +fork() -gettext
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall
+linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse +mouseshape +mouse_dec
-mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_sysmouse +mouse_xterm
+multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra
-perl +postscript +printer -profile
+python +quickfix +reltime +rightleft +ruby +scrollbind +signs
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white -tcl
+terminfo +termresponse +textobjects +title +toolbar +user_commands
+vertsplit +virtualedit +visual +visualextra +viminfo +vreplace
+wildignore +wildmenu +windows +writebackup +X11
-xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/u
sr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include -O2 -pipe -march=pentium-m -fno-strict-aliasing
-march=pentium-m -D_FORTIFY_SOURCE=1 -I/usr/local/incl
ude -I/usr/local/include/python2.6 -D_THREAD_SAFE
-I/usr/local/lib/ruby/1.8/i386-freebsd8 -DRUBY_VERSION=18
Linking: cc -L/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L.
-rpath=/usr/lib:/usr/local/lib -pthread -rdynamic -L/usr/local/lib -o
vim -pthread -L/usr/local/lib -lgtk-x11-2
.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXext
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lpa
ngo-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lXt -pthread -ltermlib
-L/usr/local/lib/python2.6/config -lpython2.6 -lutil -Wl,--export-dynamic
-Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby18 -lrt -lm
-L/usr/lib -rpath=/usr/lib:/usr/local/lib -pthread
I known that the patch 274 is ok and that vim is slow with syntax
folding, but it's very annoying and i want to be sure that the problem
is not in my config files or in my plug-in (but i have the problem with
gvim -U NONE -u NONE with no .vim directory in my home).
vim was compiled from FreeBSD port /editors/vim.
Best regards,
Fred
--
You received this message from the "vim_dev" 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