Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 38224 - RFE:vim filetype for xml schemas
RFE:vim filetype for xml schemas
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-04-28 19:18 EDT by Kuratomi, Toshio
Modified: 2007-03-26 23:43 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-28 19:18:32 EDT
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 Kuratomi, Toshio 2001-04-28 19:18:28 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; MSNIA; Windows 98)

vim does not have a filetype for the XML Schema type

Reproducible: Always
Steps to Reproduce:
1. start vim on an XML Schema file -- extenstion .xsd

Actual Results:  Does not syntax highlight the file

Expected Results:  vim should have syntax highlighted the file as an xml 

To add this: edit the /usr/share/vim/vim60z/filetype.vim file
Around line 1050 there's a definition for xsl (XML Style Language) 
documents.  Add *.xsd to that so the line looks like this:

au BufNewFile,BufRead *.xsl,*.xsd   setf xml

(I'm sorry I can't submit a patch from here :-(
Comment 1 Bernhard Rosenkraenzer 2001-04-30 12:47:28 EDT
Done in 6.0-0.29

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