Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 24374 - RFE: php syntax highlighting very poor
RFE: php syntax highlighting very poor
Product: Red Hat Linux
Classification: Retired
Component: vim (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2001-01-19 12:12 EST by Dale Lovelace
Modified: 2007-03-26 23:39 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-19 12:12:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dale Lovelace 2001-01-19 12:12:05 EST
If a php program is more than 100 lines long or so vim does a very poor
job with syntax highlighting. vim will "lose it's place" and stop
highlighting correctly. Changing the /usr/share/vim/vim57/syntax/php3.vim
file like this helps greatly:

@@ -208,7 +208,7 @@
 if exists("php3_minlines")
   exec "syn sync minlines=" . php3_minlines
-  syn sync minlines=100
+  syn sync minlines=500
 if !exists("did_php3_syntax_inits")
Comment 1 Bernhard Rosenkraenzer 2001-01-22 07:14:09 EST
Done in vim-6.0-0.21

Note You need to log in before you can comment on or make changes to this bug.