Closed ander2 closed 10 years ago
Could you tell me what version of vim are you using? In the meantime you should disable the plugin. I think that something like this
let g:pathogen_disabled = [‘vim-markdown’]
In your .vimrc
would suffice. Sorry for the inconvenience
OS: Linux Mint 15 Olivia VIM:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Apr 2 2013 09:18:18)
Parches incluidos: 1-547
Modificado por pkg-vim-maintainers@lists.alioth.debian.org
Compilado por buildd@
Versión "enorme" con interfaz gráfica de GTK2. Aspectos incluidos (+) o no (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +conceal +cryptv +cscope +cursorbind +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 +lua +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +mouse_urxvt +multi_byte +multi_lang -mzscheme +netbeans_intg +path_extra +perl
+persistent_undo +postscript +printer +profile +python -python3 +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
archivo "vimrc" del sistema: "$VIM/vimrc"
archivo "vimrc" del usuario: "$HOME/.vimrc"
archivo "exrc" del usuario: "$HOME/.exrc"
archivo "gvimrc" del sistema: "$VIM/gvimrc"
archivo "gvimrc" del usuario: "$HOME/.gvimrc"
archivo de menú del sistema: "$VIMRUNTIME/menu.vim"
predefinido para $VIM: "/usr/share/vim"
Compilación: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.
0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -g -O2 -fstack-protector --param=ssp
-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include/tcl8.5 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1
Enlazado: gcc -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1
.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib -llua5.1 -Wl,-E -fstack-protect
or -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -
L/usr/lib/x86_64-linux-gnu -ltcl8.5 -ldl -lpthread -lieee -lm -lruby-1.9.1 -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib
@ander2 Seems like I’m not able to reproduce the error, could you provide me the piece of markdown that causes the error?
Same problem here... also in a spanish environment.
@pulpo can you give me a piece of markdown that produces the error? I tried with a standard vim 7.3 but I’m not able to reproduce the error
@gabrielelana sure! I made this example after trying a few things, and I guess it's generated cause some [] # characters combination (Maybe is trying to process code output like a link or something like that)
A code example:
[servidor1]/#ls -l
total 176
drwxr-xr-x 2 root root 69632 jul 9 14:23 bin
drwxr-xr-x 2 root root 4096 jul 4 20:08 etc
drwxr-xr-x 2 root root 4096 jul 7 07:09 games
drwxr-xr-x 56 root root 20480 jul 4 20:04 include
drwxr-xr-x 207 root root 36864 jul 9 14:23 lib
drwxr-xr-x 4 root root 4096 mar 5 07:42 lib32
drwxr-xr-x 11 root root 4096 jul 4 14:29 local
drwxr-xr-x 2 root root 12288 jul 7 07:09 sbin
drwxr-xr-x 333 root root 12288 jul 9 14:23 share
drwxr-xr-x 8 root root 4096 ene 11 23:20 src
Just paste the above code in a md file, and you will see the problem (following, the vim output):
A code example:
"borrador10.md" 18L, 639C
E363: El patrón usa más memoria que 'maxmempattern'
Pulse INTRO o escriba una orden para continuar
Also vim 7.3 on OSX in English: E363: pattern uses more memory than 'maxmempattern'
:set mmp
returns maxmempattern=1000
Setting mmp to 10000 will cause vim to hang briefly and then generate the error again. Setting mmp tp 20000 causes the hang to take longer before generating the same error. I suspect your pattern matching code has an endless loop in it.
I'm also having the issue—I seem to consistently come across it when I'm messing around with square brackets. e.g. "[a]", or even just an opening square bracket "[".
Guys, I forced myself to use vim 7.3 so to be annoyed by this bug as much as you are so that I will fix it as soon as possibile :smile:
Yup, I'm getting this too.
Seems like the annoying strategy paid off :smile:
@gabrielelana what's this annoying strategy you speak of? Could use it myself. =)
Actually, this E363: pattern uses more memory than 'maxmempattern'
went away after I installed vim-javascript; which I didn't realize I had to have. Using VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 4 2017 18:14:54)
Hi, I've just downloaded (with Pathogen) and tried the plugin and this error is raised every time I open a *.md file. What's going on?