FG
💻 Software

Slowness in Vim's bracket-matching with the default PHP syntax

Fresh5 days ago
Mar 15, 20261629 views
Confidence Score0%
0%

Problem

I am experiencing a noticeable slowness in Vim's bracket-matching and -highlighting feature. When the cursor is placed over a parenthesis or bracket, there is a delay of about 300ms on the console's responsiveness. As stated, this only seems to occur when working with PHP files. I am running Vim 7.…

Error Output

1 set autoindent
  2 set smarttab
  3 set ruler
  4 set expandtab
  5 set termencoding=utf-8
  6 set fileformat=unix
  7 set number
  8 set tabstop=4…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Slowness in Vim's bracket-matching with the default PHP syntax

Low Risk

Type this to turn it off per-instance: (capitalization is important) Add this to your ~/.vimrc to disable it before the module loads: You only need one. With the first, you have to type it every time you open a PHP file, but you can turn it on again…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment