Bug 85959 - vim breaks syntax highlight in the spec file
Summary: vim breaks syntax highlight in the spec file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vim
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-03-11 15:08 UTC by Andy Shevchenko
Modified: 2007-04-18 16:51 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-03 11:12:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Andy Shevchenko 2003-03-11 15:08:35 UTC
Description of problem:
Vim breaks syntax highlight in the spec file. When vim occur the construction
like "%lang(fi)" the next lines do not highlight.


Version-Release number of selected component (if applicable):
vim was took from rawhide

VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Feb 12 2003 07:42:12)
Included patches: 1, 3-15, 17-18, 20-22, 24-34, 36-43, 45-49, 51-72, 74-75, 77-8
3, 85-87, 89-92, 94-99, 101-118, 120-146, 150, 152-153, 157-183, 185-189, 191-19
5, 197, 200-201, 203-227, 231-239, 241-242, 244-252, 254-258, 260-289, 293-295,
297-299, 301-302, 305-310, 312-320
Compiled by <bugzilla>



How reproducible:
take the man.spec from rawhide man-1.5k-6 and type
vim man.spec

see following lines:
...
%lang(en) /usr/share/locale/en/man
%lang(es) %dir /usr/share/locale/es
%lang(es) /usr/share/locale/es/man
%lang(fi) %dir /usr/share/locale/fi
         ^^^^^^^^^^^ syntax highlighting breaks here
%lang(fi) /usr/share/locale/fi/man
%lang(fr) %dir /usr/share/locale/fr
%lang(fr) /usr/share/locale/fr/man
%lang(hr) %dir /usr/share/locale/hr
...


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