-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error detected while processing function - E363: pattern uses more memory than 'maxmempattern' #6777
Comments
Does it happen in vim? Please try latest version and say how to reproduce starting from vim --clean
… Am 22.08.2020 um 19:11 schrieb Robert van Engelen ***@***.***>:
Describe the bug
Error detected while processing function <SNR>16_Highlight_Matching_Pair:
line 107:
E363: pattern uses more memory than 'maxmempattern'
From there on MacVim is unstable.
To Reproduce
Detailed steps to reproduce the behavior:
Email me at engelen @ acm.org to get the README.md file.
Run open -a MacVim README.md
Type a o (open line) then The char[ at line 2734
The error is produced and Vim malfunctions from there on
Screenshots
Environment (please complete the following information):
Vim version 8.2.539 (163) GUI
OS: macOS 10.12.6
Additional context
Other glitches have been plaguing MacVim for months after updating, so I stopped updating since it only got worse. It used to be stable. Now sometimes lines are missing in the middle of the view when navigating with { and } (CTRL-L makes them reappear). Syntax highlighting is glitchy, sometimes lagging behind the movements. Please stop adding new features that we don't need and fix what used to work. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
My .vimrc settings (part of):
|
I forgot the mention that |
I am not sure what you mean by 'glitches', but by default I think the matchparen plugin is not loaded in such a case. If you could share the README, I'd like to have a look. Thanks. |
I am not sure what you mean by 'glitches', but by default I think the matchparen plugin is not loaded in such a case.
An error message is flashed briefly on screen.
If you could share the README, I'd like to have a look. Thanks.
Attached is the README.md file.
Hope this helps to fix the problem.
|
I do not see it |
Please contact me at the email address that I had suggested in my post (but now removed from public view). I also uploaded a copy here. |
Were you able to download the README file from the URL? |
It seems that this line triggers the error: vim/runtime/syntax/markdown.vim Line 82 in 2f12284
The cost of this pattern ( --- a/runtime/syntax/markdown.vim
+++ b/runtime/syntax/markdown.vim
@@ -79,7 +79,7 @@ syn region markdownUrlTitle matchgroup=m
syn region markdownUrlTitle matchgroup=markdownUrlTitleDelimiter start=+'+ end=+'+ keepend contained
syn region markdownUrlTitle matchgroup=markdownUrlTitleDelimiter start=+(+ end=+)+ keepend contained
-syn region markdownLinkText matchgroup=markdownLinkTextDelimiter start="!\=\[\%(\%(\_[^][]\|\[\_[^][]*\]\)*]\%( \=[[(]\)\)\@=" end="\]\%( \=[[(]\)\@=" nextgroup=markdownLink,markdownId skipwhite contains=@markdownInline,markdownLineStart
+syn region markdownLinkText matchgroup=markdownLinkTextDelimiter start="!\=\[\%(\_[^][]*\%(\[\_[^][]*\]\_[^][]*\)*]\%( \=[[(]\)\)\@=" end="\]\%( \=[[(]\)\@=" nextgroup=markdownLink,markdownId skipwhite contains=@markdownInline,markdownLineStart
syn region markdownLink matchgroup=markdownLinkDelimiter start="(" end=")" contains=markdownUrl keepend contained
syn region markdownId matchgroup=markdownIdDelimiter start="\[" end="\]" keepend contained
syn region markdownAutomaticLink matchgroup=markdownUrlDelimiter start="<\%(\w\+:\|[[:alnum:]_+-]\+@\)\@=" end=">" keepend oneline |
Cc: @tpope |
Works for me, I'll add to my copy. |
Describe the bug
From there on MacVim is unstable.
To Reproduce
Detailed steps to reproduce the behavior:
open -a MacVim README.md
o
(open line) thenThe char[
at line 2734Screenshots
Environment (please complete the following information):
Additional context
Other glitches have been plaguing MacVim for months after updating, so I stopped updating since it only got worse. It used to be stable. Now sometimes lines are missing in the middle of the view when navigating with
{
and}
(CTRL-L makes them reappear). Syntax highlighting is glitchy, sometimes lagging behind the movements. Please stop adding new features that we don't need and fix what used to work. Thanks.The text was updated successfully, but these errors were encountered: