Mailinglist Archive: opensuse-bugs (4247 mails)

< Previous Next >
[Bug 1019613] vim yaml syntax highlighting super-slow with long words
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 12 Jan 2017 15:12:15 +0000
  • Message-id: <>

Ismail Donmez <idonmez@xxxxxxxx> changed:

What |Removed |Added
Resolution|UPSTREAM |---

--- Comment #3 from Ismail Donmez <idonmez@xxxxxxxx> ---
(In reply to Bernhard Wiedemann from comment #2)
found that commenting out /usr/share/vim/vim74/syntax/yaml.vim:113
avoids the issue:
"execute 'syn match yamlBlockMappingKey
/\s*\zs'.s:ns_plain_out.'\ze\s*:\%(\s\|$\)/ contained '.
" \'nextgroup=yamlKeyValueDelimiter'

so maybe drop or optimize that regexp together with upstream
to not be O(n^2) or even O(2^n) ?

The problem seems to be the new regexp engine. Since you did the most of the
work, I'll contact upstream to see if it's possible to fix regexp or the

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >